cJSON
+
0
/1 examples
SourceVu will show references to
cJSON_AddItemToObject()
from the following samples and libraries:
ESP-IDF
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
cJSON
cJSON_AddItemToObject()
cJSON_AddItemToObject() function
Syntax
Show:
Summary
Declaration
Definition
from
cJSON.h:223
cJSON_bool
)
cJSON_AddItemToObject
(
cJSON
*
object
,
const
char
*
string
,
cJSON
*
item
)
;
Implemented in
cJSON.c:2066
Arguments
Argument
object
string
item
Related Functions
Found 101 other functions taking a
cJSON
argument:
Function
cJSON_Delete()
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()
apply_patch()
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
cJSON_AddItemToObject()
is referenced by 1 libraries and example projects:
ESP-IDF
References
from
0/1
examples
Code
Location
Referrer
CJSON_PUBLIC
(
cJSON_bool
)
cJSON_AddItemToObject
(
cJSON
*
object
,
const
char
*
string
,
cJSON
*
item
)
cJSON.c:2066
CJSON_PUBLIC
(
cJSON_bool
)
cJSON_AddItemToObject
(
cJSON
*
object
,
const
char
*
string
,
cJSON
*
item
)
;
cJSON.h:223
cJSON_AddItemToObject
(
parent
,
(
char
*
)
child_pointer
,
value
)
;
cJSON_Utils.c:1015
apply_patch()
cJSON_AddItemToObject
(
patch
,
"op"
,
cJSON_CreateString
(
(
const
char
*
)
operation
)
)
;
cJSON_Utils.c:1110
compose_patch()
cJSON_AddItemToObject
(
patch
,
"path"
,
cJSON_CreateString
(
(
const
char
*
)
path
)
)
;
cJSON_Utils.c:1114
compose_patch()
cJSON_AddItemToObject
(
patch
,
"path"
,
cJSON_CreateString
(
(
const
char
*
)
full_path
)
)
;
cJSON_Utils.c:1125
compose_patch()
cJSON_AddItemToObject
(
patch
,
"value"
,
cJSON_Duplicate
(
value
,
1
)
)
;
cJSON_Utils.c:1131
compose_patch()
cJSON_AddItemToObject
(
target
,
patch_child
->
string
,
replacement
)
;
cJSON_Utils.c:1374
merge_patch()
cJSON_AddItemToObject
(
patch
,
from_child
->
string
,
cJSON_CreateNull
(
)
)
;
cJSON_Utils.c:1438
generate_merge_patch()
cJSON_AddItemToObject
(
patch
,
to_child
->
string
,
cJSON_Duplicate
(
to_child
,
1
)
)
;
cJSON_Utils.c:1445
generate_merge_patch()
cJSON_AddItemToObject
(
patch
,
to_child
->
string
,
cJSONUtils_GenerateMergePatch
(
from_child
,
to_child
)
)
;
cJSON_Utils.c:1455
generate_merge_patch()
Call Tree
from
0/1
examples
cJSON_AddItemToObject()
is called by 4 functions and calls 1 function:
apply_patch()
compose_patch()
merge_patch()
generate_merge_patch()
All items filtered out
cJSON_AddItemToObject()
add_item_to_object()
All items filtered out
Data Use
from
0/1
examples
cJSON_AddItemToObject()
:
All items filtered out
cJSON_AddItemToObject()
All items filtered out
Class Tree
from
0/1
examples
All items filtered out
All items filtered out
Override Tree
from
0/1
examples
All items filtered out
All items filtered out
Implementations
from
0/1
examples
All items filtered out
All items filtered out
Instances
from
0/1
examples
Lifecycle
from
0/1
examples
All items filtered out
All items filtered out