Brian Dunning's FileMaker Custom Functions

JSONIsValid ( json )

Check if a string is valid json

  Be the first to rate this function Log in to vote

Jason Wood   Jason Wood - Show more from this author
Define Database
https://www.definedatabase.com

  Sample input:
JSONIsValid ( "{" )
  Sample output:
0

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

Check if a string is valid json and return True (1) or False (0).

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 21 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: