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

Function cJSON_GetObjectItem

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

Source from the content-addressed store, hash-verified

664 return c;
665}
666cJSON *cJSON_GetObjectItem(cJSON *object, const char *string) {
667 cJSON *c = object->child;
668 while (c && cJSON_strcasecmp(c->string, string)) c = c->next;
669 return c;
670}
671
672/* Utility for array list handling. */
673static void suffix_object(cJSON *prev, cJSON *item) {

Callers 5

CJsonObject.cppFile · 0.85
operator()Method · 0.85
GetMethod · 0.85
AddMethod · 0.85
ReplaceMethod · 0.85

Calls 1

cJSON_strcasecmpFunction · 0.85

Tested by

no test coverage detected