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

Function cJSON_HasObjectItem

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

Source from the content-addressed store, hash-verified

1914}
1915
1916CJSON_PUBLIC(cJSON_bool) cJSON_HasObjectItem(const cJSON *object, const char *string)
1917{
1918 return cJSON_GetObjectItem(object, string) ? 1 : 0;
1919}
1920
1921/* Utility for array list handling. */
1922static void suffix_object(cJSON *prev, cJSON *item)

Callers

nothing calls this directly

Calls 1

cJSON_GetObjectItemFunction · 0.85

Tested by

no test coverage detected