isJSON

Evaluates whether a string is in valid JSON (JavaScript Object Notation) data interchange format.

isJSON(var) → returns boolean

Argument Reference for the isJSON function

var

Required: Yes
A string or variable that represents one.


Fork me on GitHub