Returns a boolean value denoting whether the input string is a valid JSON string
Returns true
isJson('{"foo":"bar","baz":123,"qux":false}');
Returns false
isJson("{foo:bar}");
Generated using TypeDoc
Returns a boolean value denoting whether the input string is a valid JSON string
Example
Returns true
Example
Returns false