Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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