Add cJSONUtils_GetPointerCaseSensitive

This commit is contained in:
Max Bruckner
2017-05-02 01:30:58 +02:00
parent 73823c4b6d
commit cd4d7b9b6e
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -299,6 +299,11 @@ CJSON_PUBLIC(cJSON *) cJSONUtils_GetPointer(cJSON * const object, const char *po
return get_item_from_pointer(object, pointer, false);
}
CJSON_PUBLIC(cJSON *) cJSONUtils_GetPointerCaseSensitive(cJSON * const object, const char *pointer)
{
return get_item_from_pointer(object, pointer, true);
}
/* JSON Patch implementation. */
static void decode_pointer_inplace(unsigned char *string)
{