Fix JSON-LD Structure to Ensure Valid Structured Data

Structured Data Analyzer

What is this warning?

Your JSON-LD structured data is not properly formatted as a valid JSON object or array. JSON-LD must be either a single object (starting with `{`) or an array of objects (starting with `[`). Invalid structure prevents search engines from parsing your structured data correctly.

How to Fix This Issue

How to Fix It

The Problem

<script type="application/ld+json">
"@context": "https://schema.org",
"@type": "Product"
</script>

The Solution

Ensure your JSON-LD is wrapped in proper object braces `{}` or array brackets `[]`.

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Example Product"
}
</script>

Why This Works

Valid JSON structure is essential for search engines to parse and understand your structured data. Proper formatting ensures your data can be processed correctly and used for rich results.

SEO Impact

This issue can affect your site's search engine rankings and user experience. Addressing it promptly helps ensure optimal performance and visibility in search results.

Automatic Detection

Black SEO Analyzer automatically checks for this warning during site analysis, along with hundreds of other technical SEO issues.

Ready to Unlock Your Site's Full SEO Potential?

Choose the license that fits your needs and start getting the deep, actionable insights you deserve.