1. Home
  2. Docs
  3. SiteLint
  4. SEO Rules
  5. malformed-json-ld

malformed-json-ld

Print this article

    Description

    The rule checks structured data LD+JSON for issues that prevent from parsing schema.

    Context

    It is important to have well-defined structured data LD+JSON. But when the structure is malformed then it impacts the processing by search engines as they will have difficulties understanding the structure. The rule checks for whitespaces and ensures it gets parsed without issues.

    How to fix it

    Make sure your structured data LD+JSON is being represented as a single string, without whitespaces, especially new lines.

    Was this article helpful to you? Yes No