JSONSyntaxError
Identifies invalid JSON files in themes.
Anchor to ExamplesExamples
The following examples contain code snippets that either fail or pass this check.
Anchor to ✗ Fail✗ Fail
{
"key": "value" %
}
{
"quotes": 'These are single quotes'
}
Anchor to ✓ Pass✓ Pass
{
"key": "value",
}
{
"quotes": "This value uses double quotes"
}
Anchor to Disabling this checkDisabling this check
Disabling this check isn't recommended.
Anchor to AliasesAliases
For backward compatibility with configuration files made for Theme Check v1.X.X
, this check is also recognized in configuration files with the following names:
ValidJson
Was this page helpful?