Skip to main content

JSONSyntaxError

Identifies invalid JSON files in themes.


The following examples contain code snippets that either fail or pass this check.

{
"key": "value" %
}
{
"quotes": 'These are single quotes'
}

{
"key": "value",
}
{
"quotes": "This value uses double quotes"
}

Anchor to Disabling this checkDisabling this check

Disabling this check isn't recommended.


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?