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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
JSON.GetBooleanValue
Queries boolean value for JSON.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| JSON | 10.3 | Yes | Yes | Yes | Yes | Yes |
MBS( "JSON.GetBooleanValue"; json ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| json | A JSON text or reference. | "[1,2,3]" |
Result
Returns 1, 0 or error.
Description
Queries boolean value for JSON.Returns 1 for true values, numbers which are not zero and for texts which are either "1" or "true".
Otherwise returns 0.
See also
Blog Entries
Release notes
- Version 10.3
- Added JSON.GetBooleanValue function.
Created 14th July 2020, last changed 14th July 2020
JSON.GetArraySize - JSON.GetDoubleValue
Feedback: Report problem or ask question.
Links
MBS FileMaker tutorial videos