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

JSON.AddArrayToArray

Adds an array to an existing array.

Component Version macOS Windows Linux Server iOS SDK
JSON 10.2 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "JSON.AddArrayToArray"; json; OtherJSON... )   More

Parameters

Parameter Description Example
json A JSON text or reference. ["1","2"]
OtherJSON... A second JSON text or reference.
Can be arrays to take their items or JSON values.
["3","4"]

Result

Returns OK or error.

Description

Adds an array to an existing array.
May also add JSON items to an array.

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

Examples

Adds arrays:

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

See also

Release notes

Blog Entries

This function checks for a license.

Created 2nd April 2020, last changed 5th June 2021


JS.UTCDateToTime - JSON.AddBooleanToObject