MCPcopy Create free account
hub / github.com/Netis/cloud-probe / cJSON_DetachItemFromObject

Function cJSON_DetachItemFromObject

cpworker/src/cJSON/cJSON.c:2256–2261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2254}
2255
2256CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromObject(cJSON *object, const char *string)
2257{
2258 cJSON *to_detach = cJSON_GetObjectItem(object, string);
2259
2260 return cJSON_DetachItemViaPointer(object, to_detach);
2261}
2262
2263CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromObjectCaseSensitive(cJSON *object, const char *string)
2264{

Callers 3

detach_pathFunction · 0.85
merge_patchFunction · 0.85

Calls 2

cJSON_GetObjectItemFunction · 0.85

Tested by

no test coverage detected