cJSON_Item_GetType

<< Click to Display Table of Contents >>

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

cJSON_Item_GetType

 

Description

 
Given 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