cJSON
apply_patch()
is only used within cJSON.
Symbol previews are coming soon...
Symbols
loading (1/2)...
Files
loading (1/2)...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
cJSON
apply_patch()
apply_patch() function
Syntax
Show:
Summary
Declaration
from
cJSON_Utils.c:807
static
int
apply_patch
(
cJSON
*
object
,
const
cJSON
*
patch
,
const
cJSON_bool
case_sensitive
)
;
Arguments
Argument
object
patch
case_sensitive
Related Functions
Found 101 other functions taking a
cJSON
argument:
Function
cJSON_Delete()
cJSON_AddItemToObject()
add_item_to_object()
cJSON_GetObjectItem()
cJSON_Duplicate()
cJSON_IsObject()
cJSON_AddItemToArray()
sort_object()
compose_patch()
cJSON_IsArray()
print_value()
get_item_from_pointer()
get_object_item()
get_object_item()
suffix_object()
cJSON_Print()
cJSON_AddNumberToObject()
cJSON_AddStringToObject()
parse_value()
get_array_item()
add_item_to_array()
cJSON_DetachItemFromObject()
cJSON_DetachItemViaPointer()
cJSON_IsString()
cJSON_Compare()
compare_json()
create_patches()
cJSON_GetObjectItemCaseSensitive()
cJSON_DeleteItemFromObject()
cJSON_DeleteItemFromObjectCaseSensitive()
cJSON_ReplaceItemViaPointer()
cJSON_DetachItemFromObjectCaseSensitive()
sort_list()
merge_patch()
parse_string()
print()
parse_object()
parse_array()
print_array()
print_object()
create_reference()
replace_item_in_object()
cJSON_DetachItemFromArray()
cJSON_IsNull()
cJSON_IsNumber()
cJSONUtils_FindPointerFromObjectTo()
detach_path()
overwrite_item()
cJSONUtils_GenerateMergePatch()
generate_merge_patch()
print_number()
cJSON_SetNumberHelper()
cJSON_SetValuestring()
print_string()
cJSON_PrintUnformatted()
cJSON_PrintBuffered()
cJSON_PrintPreallocated()
cJSON_GetArraySize()
cJSON_GetArrayItem()
cJSON_HasObjectItem()
cJSON_AddItemToObjectCS()
cJSON_AddItemReferenceToArray()
cJSON_AddItemReferenceToObject()
cJSON_AddNullToObject()
cJSON_AddTrueToObject()
cJSON_AddFalseToObject()
cJSON_AddBoolToObject()
cJSON_ReplaceItemInArray()
cJSON_InsertItemInArray()
cJSON_DeleteItemFromArray()
cJSON_AddRawToObject()
cJSON_AddObjectToObject()
cJSON_AddArrayToObject()
cJSON_CreateObjectReference()
cJSON_CreateArrayReference()
cJSON_ReplaceItemInObject()
cJSON_ReplaceItemInObjectCaseSensitive()
cJSON_IsTrue()
cJSON_IsBool()
cJSON_IsInvalid()
cJSON_IsFalse()
cJSON_IsRaw()
cJSON_GetStringValue()
cJSON_GetNumberValue()
parse_number()
get_array_item()
cJSONUtils_GetPointer()
cJSONUtils_GetPointerCaseSensitive()
detach_item_from_array()
insert_item_in_array()
decode_patch_operation()
cJSONUtils_ApplyPatches()
cJSONUtils_ApplyPatchesCaseSensitive()
cJSONUtils_MergePatch()
cJSONUtils_AddPatchToArray()
cJSONUtils_GeneratePatches()
cJSONUtils_GeneratePatchesCaseSensitive()
cJSONUtils_SortObject()
cJSONUtils_SortObjectCaseSensitive()
cJSONUtils_GenerateMergePatchCaseSensitive()
cJSONUtils_MergePatchCaseSensitive()
Examples
References
from
examples
Code
Location
Referrer
static
int
apply_patch
(
cJSON
*
object
,
const
cJSON
*
patch
,
const
cJSON_bool
case_sensitive
)
cJSON_Utils.c:807
status
=
apply_patch
(
object
,
current_patch
,
false
)
;
cJSON_Utils.c:1056
cJSONUtils_ApplyPatches()
status
=
apply_patch
(
object
,
current_patch
,
true
)
;
cJSON_Utils.c:1085
cJSONUtils_ApplyPatchesCaseSensitive()
Call Tree
from
examples
apply_patch()
is called by 2 functions and calls 20 functions:
cJSONUtils_ApplyPatches()
cJSONUtils_ApplyPatchesCaseSensitive()
All items filtered out
apply_patch()
cJSON_AddItemToArray()
cJSON_AddItemToObject()
cJSON_DeleteItemFromObject()
cJSON_DeleteItemFromObjectCaseSensitive()
cJSON_Duplicate()
cJSON_IsString()
cJSON_IsArray()
cJSON_IsObject()
cJSON_free()
cJSON_Delete()
cJSONUtils_strdup()
decode_array_index_from_pointer()
get_item_from_pointer()
decode_pointer_inplace()
detach_path()
compare_json()
insert_item_in_array()
get_object_item()
decode_patch_operation()
overwrite_item()
All items filtered out
Data Use
from
examples
apply_patch()
reads 9 variables and writes 1 variable:
cJSON::valuestring
cJSON::string
patch_operation::INVALID
patch_operation::ADD
patch_operation::REMOVE
patch_operation::REPLACE
patch_operation::MOVE
patch_operation::COPY
patch_operation::TEST
All items filtered out
apply_patch()
cJSON::string
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out