Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
JSON.GetBooleanValue
Queries boolean value for JSON.
Component | Version | macOS | Windows | Linux | Server | 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
Release notes
- Version 13.4
- Changed JSON.GetStringValue, JSON.GetBooleanValue, JSON.GetDoubleValue, JSON.GetIntegerValue and JSON.GetValue to return empty result if called with empty value.
- Version 10.3
- Added JSON.GetBooleanValue function.
Blog Entries
- MBS FileMaker Plugin, version 13.4pr1
- What is new in the MBS FileMaker Plugin Version 10.3
- MBS FileMaker Plugin, version 10.3pr9
This function is free to use.
Created 14th July 2020, last changed 14th July 2020