cJSON_HasObjectItem

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > cJSON > CJSon low level interface >

cJSON_HasObjectItem

 

Description

 
Check sItemName item name is present inside a cJSON object.

 

Syntax

 

n = cJSON_HasObjectItem(cJSON Ptr, sItemName)

 

Returns

 

Number: %TRUE or %FALSE

 

Parameters

 

Name

Type

Optional

Meaning

cJSON

UDT Ptr

No

A pointer to a cJSON data structure

sItemName

String

No

Name of the item to be found inside cJSON object

 

Remarks

 

Restrictions

 

See also

 

Examples