Uploaded image for project: 'Persistence Admin Service'
  1. Persistence Admin Service
  2. PAS-6

Deprecated json calls in PAS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • PAS
    • None

    Description

      As per the json github following functions are deprecated (https://json-c.github.io/json-c/json-c-0.10/doc/html/deprecated.html)

      Global json_object_object_get (struct json_object *obj, const char *key)
      Please use json_object_object_get_ex.

      Global lh_table_lookup (struct lh_table *t, const void *k)
      Use lh_table_lookup_ex instead.  

      The json_object_object_get() is being invoked/used in ssw_pers_admin_config.c this currently throws compiler warnings,  src/ssw_pers_admin_config.c:1077:21: warning: 'json_object_object_get' is deprecated [-Wdeprecated-declarations]

      Attachments

        Activity

          People

            guy.sagnes Guy Sagnes (Inactive)
            uidv0912 Cosmin Cernat (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: