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.
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
```