Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0    Statistic  


Checks if JSON text is valid.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
JSON 6.3 Yes Yes Yes Yes Yes

MBS( "JSON.IsValid"; JSON )


Parameter Description Example value
JSON The JSON text to parse. "[1,2,3]"


Returns 1, 0 or error.


Checks if JSON text is valid.
This parses the JSON text and returns 1 on success or 0 on failure.


Checks validity:

MBS( "JSON.IsValid"; "[1,2,3]" )

Example result: 1

Checks with error:

MBS( "JSON.IsValid"; "[1,hello,3]" )

Example result: 0

JSON.Import.Work   -   JSON.Parse

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins