Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Creates a boolean node with given value.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
JSON 6.0 Yes Yes Yes Yes Yes
MBS( "JSON.CreateBoolean"; Value )   More


Parameter Description Example value
Value The boolean value. Pass 1 for true and 0 for false. 1


Returns JSON or error.


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.


Create a boolean with an expression:

Set Variable [$json; Value:MBS( "JSON.CreateBoolean"; Length($text) > 0 )]

Example result: true

See also

Blog Entries

Created 5th January 2016, last changed 11st December 2016

JSON.CreateBool   -   JSON.CreateDoubleArray

Feedback: Report problem or ask question.

MBS Xojo tutorial videos