Checks if a string is valid JSON.
The string to validate.
Options for JSON validation.
true if the string is valid JSON, false otherwise.
true
false
Checks if a string is valid JSON.