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.CreateBoolean
Creates a boolean node with given value.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| JSON | 6.0 | Yes | Yes | Yes | Yes | Yes |
MBS( "JSON.CreateBoolean"; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| Value | The boolean value. Pass 1 for true and 0 for false. | 1 |
Result
Returns JSON or error.
Description
Creates a boolean node with given value.As we pass JSON in JSON around, you can simply write "false" directly instead of calling one of this functions.
Examples
Create a boolean with an expression:
Set Variable [$json; Value:MBS( "JSON.CreateBoolean"; Length($text) > 0 )]
Example result: true
See also
Blog Entries
FileMaker Magazin
Created 5th January 2016, last changed 11st December 2016
JSON.CreateBool - JSON.CreateDoubleArray
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins