Navigation:  ThinBASIC Modules > cJSON >

cJSON_HasObjectItem

Previous pageReturn to chapter overviewNext page

 

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