MCPcopy Create free account
hub / github.com/antirez/botlib / cJSON_DetachItemFromObject

Function cJSON_DetachItemFromObject

cJSON.c:2234–2239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2232}
2233
2234CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromObject(cJSON *object, const char *string)
2235{
2236 cJSON *to_detach = cJSON_GetObjectItem(object, string);
2237
2238 return cJSON_DetachItemViaPointer(object, to_detach);
2239}
2240
2241CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromObjectCaseSensitive(cJSON *object, const char *string)
2242{

Callers 1

Calls 2

cJSON_GetObjectItemFunction · 0.85

Tested by

no test coverage detected