Sign In

$isJSON[]

Checks whether given JSON is valid

v1.4.0+ Requires Brackets

Usage

$isJSON[]
Also callable as
$isValidJSON

Arguments

NameTypeRequiredDescription
json
StringYesThe json to check for

Output

Boolean

Was this page helpful?