--- title: JSONSyntaxError description: Identifies invalid JSON files in themes. source_url: html: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/json-syntax-error md: >- https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/json-syntax-error.md --- ExpandOn this page * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/json-syntax-error.md#examples) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/json-syntax-error.md#disabling-this-check) * [Aliases](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/json-syntax-error.md#aliases) # JSONSyntaxError Identifies invalid JSON files in themes. *** ## Examples The following examples contain code snippets that either fail or pass this check. ### ✗ Fail ```json { "key": "value" % } ``` ```json { "quotes": 'These are single quotes' } ``` ### ✓ Pass ```json { "key": "value", } ``` ```json { "quotes": "This value uses double quotes" } ``` *** ## Disabling this check Disabling this check isn't recommended. *** ## Aliases 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` *** * [Examples](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/json-syntax-error.md#examples) * [Disabling this check](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/json-syntax-error.md#disabling-this-check) * [Aliases](https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/json-syntax-error.md#aliases)