cJSON_Item_GetPrev

<< Click to Display Table of Contents >>

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

cJSON_Item_GetPrev

 

Description

 
Given 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