Skip to content
Snippets Groups Projects
  • Kevin Harwell's avatar
    e85f92f3
    json.c/strings.c - Add a couple of utility functions · e85f92f3
    Kevin Harwell authored
    Added 'ast_json_object_string_get' to the JSON wrapper in order to make it a
    little easier to retrieve a string field from the JSON object.
    
    Also added an 'ast_strings_equal' function that safely checks (checks for NULLs)
    for equality between two strings.
    
    Change-Id: I26f0a16d61537505eb41b4b05ef2e6d67fc2541b
    e85f92f3
    History
    json.c/strings.c - Add a couple of utility functions
    Kevin Harwell authored
    Added 'ast_json_object_string_get' to the JSON wrapper in order to make it a
    little easier to retrieve a string field from the JSON object.
    
    Also added an 'ast_strings_equal' function that safely checks (checks for NULLs)
    for equality between two strings.
    
    Change-Id: I26f0a16d61537505eb41b4b05ef2e6d67fc2541b