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
Queries a list of all array entries.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
JSON | 4.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
json | A JSON text or reference. | "[1,2,3]" | |
ReturnValues | Available in MBS FileMaker Plugin 8.1 or newer. Pass 1 to return values instead of keeping strings in quotes. |
1 | Optional |
Returns list or error.
Query a list from JSON array:
MBS( "JSON.GetArrayItemsAsList"; "[1,2,3]" )
Now a list of strings:
MBS( "JSON.GetArrayItemsAsList"; "[\"Hello\",\"World\",\"Test\"]" )
Now an array with objects:
MBS( "JSON.GetArrayItemsAsList"; "[\"Hello\", \"World\", {\"Hello\": \"test\"}]" )
Created 18th August 2014, last changed 30th January 2018
JSON.GetArrayItems - JSON.GetArrayPathItems
Feedback: Report problem or ask question.