Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

JSON.CreateDoubleArray

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

Component Version macOS Windows Linux Server iOS SDK
JSON 2.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "JSON.CreateDoubleArray" { ; values } )   More

Parameters

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

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

FileMaker Magazin

Created 18th August 2014, last changed 7th June 2017


JSON.CreateBoolean - JSON.CreateFalse

Feedback: Report problem or ask question.