Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

JSON.CreateStringArray

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

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

Parameters

Parameter Description Example Flags
Value... The string value for the array.
Pass one parameter per item to be added to the array.
"Hello" Optional

Result

Returns JSON code.

Description

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

This function takes variable number of parameters. Pass as much parameters as needed separated by the semicolon in FileMaker.
Please repeat Value parameter as often as you need.

Examples

Creates string array:

MBS( "JSON.CreateStringArray"; "Hello"; "World")

Example result:
["Hello", "World"]

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 5th June 2021


JSON.CreateString - JSON.CreateStringArrayWithList