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

Function cJSON_IsString

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

Source from the content-addressed store, hash-verified

2921}
2922
2923CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item)
2924{
2925 if (item == NULL)
2926 {
2927 return false;
2928 }
2929
2930 return (item->type & 0xFF) == cJSON_String;
2931}
2932
2933CJSON_PUBLIC(cJSON_bool) cJSON_IsArray(const cJSON * const item)
2934{

Callers 2

get_json_strvalFunction · 0.85
cJSON_GetStringValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected