cJSON_GetArraySize

<< Click to Display Table of Contents >>

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

cJSON_GetArraySize

 

Description

 
Return the number of items inside a JSON array node.

 

Syntax

 

n = cJSON_GetArraySize(cJSON Ptr)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

cJSON

UDT Ptr

No

A pointer to a cJSON data structure representing an array

 

Remarks

 

Restrictions

 

See also

 

Examples