cJSON_Item_GetChild

<< Click to Display Table of Contents >>

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

cJSON_Item_GetChild

 

Description

 
Given a cJSON node, this function returns a cJSON child node pointer, if present.

 

Syntax

 

cJSON Ptr = cJSON_Item_GetChild(cJSON Ptr)

 

Returns

 

Number: a pointer to a cJSON structure.

Zero means error

 

Parameters

 

Name

Type

Optional

Meaning

cJSON

UDT Ptr

No

A pointer to a cJSON data structure

 

Remarks

 

Restrictions

 

See also

 

Examples