MCPcopy Create free account
hub / github.com/OpenIPC/firmware / cJSON_DetachItemFromObject

Function cJSON_DetachItemFromObject

general/package/xmdp/src/cjson/cJSON.c:2241–2246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2239}
2240
2241CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromObject(cJSON *object, const char *string)
2242{
2243 cJSON *to_detach = cJSON_GetObjectItem(object, string);
2244
2245 return cJSON_DetachItemViaPointer(object, to_detach);
2246}
2247
2248CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromObjectCaseSensitive(cJSON *object, const char *string)
2249{

Callers 1

Calls 2

cJSON_GetObjectItemFunction · 0.85

Tested by

no test coverage detected