JSON-LD
JSON-LD (JavaScript Object Notation for Linked Data) is the format Google recommends for adding structured data to a page, usually inside a script tag in the HTML.
There are three ways to add Schema.org markup: microdata, RDFa and JSON-LD. JSON-LD keeps the data in a separate block of code instead of weaving it into your HTML tags, which makes it far easier to write, read and maintain.
In more detail
A JSON-LD block starts with @context set to schema.org and a @type such as Organization or Article, followed by properties. Several entities can live in one @graph and reference each other with @id values, which is how a page can state that its article was published by the same organisation described on the home page.
Why it matters
Because JSON-LD sits apart from the layout, developers can generate it from the same data that builds the page, keeping it accurate. That reliability is what search engines and AI tools need to trust structured data.
A blog template outputs a JSON-LD block on every post with the headline, author, publish date and publisher. When an editor updates a post, the dateModified field updates automatically from the CMS, with no manual edits.