Could you just be (I don't know) normal?

Topic summary

A user demonstrates that Shopify’s GraphQL Admin API returns a settings_data.json file containing multiline comments, which violates the JSON specification.

Technical Details:

  • The provided GraphQL query retrieves the main theme’s configuration file
  • The returned JSON file includes multiline comments, which are not valid according to RFC 8259 (the official JSON specification)

Issue Status:

  • The user references the JSON RFC documentation to support their point
  • Includes a meme image (likely highlighting the irony or frustration with this non-standard behavior)
  • The discussion appears to be calling out Shopify’s non-compliant JSON implementation
  • No resolution or response provided yet
Summarized with AI on October 24. AI used: claude-sonnet-4-5-20250929.

Take this GraphQL Admin API request and run on your store.

query themes {
    themes(first: 1, roles: [MAIN]) {
        edges {
            node {
                files(filenames: ["config/settings_data.json"]) {
                    nodes {
                        filename
                        body {
                            ... on OnlineStoreThemeFileBodyText {
                                content
                            }
                        }
                    }
                }
            }
        }
    }
}

The returned file is a JSON containing multiline comment. Here you can find the RFC: RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format . Please read it.

Sorry, I forgot to attach this meme.

1 Like