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

Function cJSON_HasObjectItem

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

Source from the content-addressed store, hash-verified

1816}
1817
1818CJSON_PUBLIC(cJSON_bool) cJSON_HasObjectItem(const cJSON *object, const char *string)
1819{
1820 return cJSON_GetObjectItem(object, string) ? 1 : 0;
1821}
1822
1823/* Utility for array list handling. */
1824static void suffix_object(cJSON *prev, cJSON *item)

Callers

nothing calls this directly

Calls 1

cJSON_GetObjectItemFunction · 0.85

Tested by

no test coverage detected