Function cJSON_IsString

Synopsis

#include <cJSON.h>

cJSON_bool cJSON_IsString(const cJSON *const item)

Description

No description yet.

Mentioned in

Source

Lines 2937-2945 in cJSON.c. Line 189 in cJSON.h.

CJSON_PUBLIC(cJSON_bool) cJSON_IsString(const cJSON * const item)
{
    if (item == NULL)
    {
        return false;
    }

    return (item->type & 0xFF) == cJSON_String;
}





Add Discussion as Guest

Log in