MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / cJSON_DetachItemFromObject

Function cJSON_DetachItemFromObject

libapp2sys/src/main/cpp/cjson/cJSON.c:2124–2129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2122}
2123
2124CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromObject(cJSON *object, const char *string)
2125{
2126 cJSON *to_detach = cJSON_GetObjectItem(object, string);
2127
2128 return cJSON_DetachItemViaPointer(object, to_detach);
2129}
2130
2131CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromObjectCaseSensitive(cJSON *object, const char *string)
2132{

Callers 1

Calls 2

cJSON_GetObjectItemFunction · 0.85

Tested by

no test coverage detected