Google changes how it parses double-escaped JSON-LD entities

Google has modified the way it extracts JSON-LD knowledge, bringing it extra consistent with JSON and different net requirements. As Google Search Central introduced on LinkedIn, Google will solely do a single go of HTML unescaping.

What builders ought to know

If builders are utilizing JSON-LD for structured knowledge, it’s time to replace your code. As an alternative of counting on double-escaped entities, change to plain JSON escapes or Unicode hexadecimal escapes.

Since Google’s parser now solely unescapes as soon as, any code that trusted double-unescaping gained’t work the way in which it used to.

Google's crawler

Google Search Central posted about this on LinkedIn:

“To convey our parser as much as JSON and different requirements, we modified our JSON-LD extraction and are actually solely making use of a single go of HTML unescaping. Virtually talking, because of this double-escaped entities (like & or ✔) will now not be unrolled. When you’re utilizing JSON-LD for structured knowledge, make sure to replace your code to plain JSON escapes or Unicode hexadecimal escapes (like u0026).”


#Google #parses #doubleescaped #JSONLD #entities

Leave a Reply

Your email address will not be published. Required fields are marked *