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

Function cJSON_IsObject

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

Source from the content-addressed store, hash-verified

2941}
2942
2943CJSON_PUBLIC(cJSON_bool) cJSON_IsObject(const cJSON * const item)
2944{
2945 if (item == NULL)
2946 {
2947 return false;
2948 }
2949
2950 return (item->type & 0xFF) == cJSON_Object;
2951}
2952
2953CJSON_PUBLIC(cJSON_bool) cJSON_IsRaw(const cJSON * const item)
2954{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected