Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

JSON.GetArraySize

Queries the number of array entries.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
JSON 2.7 Yes Yes Yes Yes Yes

MBS( "JSON.GetArraySize"; json )

Parameters

Parameter Description Example value
json A JSON text or reference. "[1,2,3]"

Result

Returns number of array entries.

Description

Queries the number of array entries.

Examples

Checks number of array elements:

MBS( "JSON.GetArraySize"; "[1, 2, 3, 4]" )

See also

Example Databases


JSON.GetArrayPathItems   -   JSON.GetDoubleValue

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins