Navigation:  ThinBASIC Modules > cJSON >

cJSON_Item_GetChild

Previous pageReturn to chapter overviewNext page

 

Description

 
Giving 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