We respect your privacy.

We use strictly necessary cookies to keep you signed in and to protect against CSRF. With your permission we also use a small amount of first-party analytics to improve the product. We do not sell your data and we do not use third-party advertising trackers. See our cookie policy and privacy policy .

← All learn topics

Rule schema.malformed-json

Fix malformed JSON-LD

schema.malformed-json is a check in Crawlmind's site audit that grades high-impact issues of this kind. This page explains why the rule matters and the exact fix.

Impact: highEffort: low

Why it matters

A `<script type="application/ld+json">` block on this page contains invalid JSON: usually an unescaped quote, a trailing comma, or a missing closing brace. The whole block is silently ignored by every consumer, so any rich-result eligibility from that block evaporates. One bad character can take out an Organization + WebSite + Product schema in one go.

The fix

Validate the raw JSON before re-publishing:

- [json-ld.org/playground](https://json-ld.org/playground/): paste the body, see parse errors with line numbers.
- [validator.schema.org](https://validator.schema.org/): checks both JSON validity AND schema.org type/property correctness.

Common offenders:

```json
{ "name": "Bad" trailing comma, },     ← trailing comma
{ "description": "He said "hi"" }      ← unescaped quotes
{ "url": https://example.com }         ← unquoted string
```

References