Navigation:  ThinBASIC Modules > cJSON >

cJSON_Item_GetType

Previous pageReturn to chapter overviewNext page

 

Description

 
Giving a cJSON node, this function returns the cJSON node type.

 

Syntax

 

n = cJSON_Item_GetType(cJSON Ptr)

 

Returns

 

Number: see cJSON equates for possible values

 

Parameters

 

Name

Type

Optional

Meaning

cJSON

UDT Ptr

No

A pointer to a cJSON data structure

 

Remarks

 

Restrictions

 

See also

 

Examples