Navigation:  ThinBASIC Modules > cJSON >

cJSON_Item_GetPrev

Previous pageReturn to chapter overviewNext page

 

Description

 
Giving a cJSON node, this function returns a cJSON previous node pointer, if present.

 

Syntax

 

cJSON Ptr = cJSON_Item_GetPrev(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