MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / cJSON_CreateObject

Function cJSON_CreateObject

common/map_sdk/transmission/src/cJSON.cpp:826–830  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

824 return item;
825}
826cJSON *cJSON_CreateObject() {
827 cJSON *item = cJSON_New_Item();
828 if (item) item->type = cJSON_Object;
829 return item;
830}
831
832/* Create Arrays: */
833cJSON *cJSON_CreateIntArray(int *numbers, int sign, int count) {

Callers 3

AddEmptySubObjectMethod · 0.85
AddEmptySubArrayMethod · 0.85
AddMethod · 0.85

Calls 1

cJSON_New_ItemFunction · 0.85

Tested by

no test coverage detected