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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
JSON.IsValid
Checks if JSON text is valid.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| JSON | 6.3 | Yes | Yes | Yes | Yes | Yes |
MBS( "JSON.IsValid"; JSON ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| JSON | The JSON text to parse. | "[1,2,3]" |
Result
Returns 1, 0 or error.
Description
Checks if JSON text is valid.This parses the JSON text and returns 1 on success or 0 on failure.
Examples
Checks validity:
MBS( "JSON.IsValid"; "[1,2,3]" )
Example result: 1
Checks with error:
MBS( "JSON.IsValid"; "[1,hello,3]" )
Example result: 0
Blog Entries
FileMaker Magazin
Created 23th June 2016, last changed 11st December 2016
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins