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

Google has modified the way it extracts JSON-LD knowledge, bringing it extra in keeping with JSON and different internet requirements. As Google Search Central introduced on LinkedIn, Google will solely do a single move 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 straightforward JSON escapes or Unicode hexadecimal escapes.

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

Google's crawler

Google Search Central posted about this on LinkedIn:

“To deliver our parser as much as JSON and different requirements, we modified our JSON-LD extraction and are actually solely making use of a single move of HTML unescaping. Virtually talking, which means that double-escaped entities (like & or ✔) will not be unrolled. If you happen to’re utilizing JSON-LD for structured knowledge, remember to replace your code to straightforward 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 *