IsJSON
Evaluates whether a string is in valid JSON (JavaScript Object Notation) data interchange format.
Method Signature
Arguments
Argument
Type
Required
Description
Default
var
any
true
The value to test for JSON
Examples
isJSON Example
Returns true when the argument is a valid JSON value.
Result: true
Additional Examples
Related
Last updated
Was this helpful?