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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Checks if JSON text is valid.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
JSON | 6.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
JSON | The JSON text to parse. | "[1,2,3]" |
Returns 1, 0 or error.
Checks validity:
MBS( "JSON.IsValid"; "[1,2,3]" )
Example result: 1
Checks with error:
MBS( "JSON.IsValid"; "[1,hello,3]" )
Example result: 0
Check number:
MBS("JSON.IsValid"; 123)
Example result: 1
This function checks for a license.
Created 23th June 2016, last changed 11st October 2022