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

Function cJSON_IsObject

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

Source from the content-addressed store, hash-verified

2785}
2786
2787CJSON_PUBLIC(cJSON_bool) cJSON_IsObject(const cJSON * const item)
2788{
2789 if (item == NULL)
2790 {
2791 return false;
2792 }
2793
2794 return (item->type & 0xFF) == cJSON_Object;
2795}
2796
2797CJSON_PUBLIC(cJSON_bool) cJSON_IsRaw(const cJSON * const item)
2798{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected