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.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2    Statistic  

JSON.CreateDoubleArray

Creates a new JSON with a double array with given values.

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

MBS( "JSON.CreateDoubleArray" { ; values } )

Parameters

Parameter Description Example value
values Optional
Optional parameters for the array values. Pass one parameter per item to be added to the array.
1

Result

Returns JSON code.

Description

Creates a new JSON with a double array with given values.
This is for creating an array with floating point numbers.
For integer numbers, please use JSON.CreateIntegerArray.

Examples

Creates number array:

MBS( "JSON.CreateDoubleArray"; 1; 2; 3)

Example result: [1, 2, 3]

See also


JSON.CreateBoolean   -   JSON.CreateFalse

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins