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

Google has modified the way it extracts JSON-LD knowledge, bringing it extra according to JSON and different internet 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, swap to plain 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 best way it used to.

Google's crawler

Google Search Central posted about this on LinkedIn:

“To carry 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, which means that double-escaped entities (like & or ✔) will now not be unrolled. In case you’re utilizing JSON-LD for structured knowledge, you’ll want 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 *