What is JSON-LD?
Definition
JSON-LD is a format for adding structured data to a web page in a script tag, so search engines can read facts about the page, such as an article, a product or a defined term.
Why it matters
Structured data helps search engines understand a page and can make it eligible for rich results. Google recommends JSON-LD because it is the easiest format to implement and maintain.
How to do it
- Pick the schema.org type that matches the page, such as Article or DefinedTerm.
- Add a JSON-LD script with the page's facts.
- Make sure the markup matches the visible text, then validate it.
Example
Each AgentMio glossary page includes a DefinedTerm JSON-LD block with the term's name, short definition and URL.
JSON-LD vs. Microdata
Both are supported by Google. JSON-LD sits in one script block, while Microdata is woven into the page's HTML.
FAQ
Does JSON-LD help with AI Overviews?
Google says no special markup is required for its AI features, but correct structured data still helps search engines understand the page.