JavaScript Object Notation (JSON) is a lightweight, text-based data format for storing and exchanging data. It is human-readable and easy for machines to process.
is a simple data format that represents information as key-value pairs. It originated from JavaScript but is now used language-independently, especially for data exchange via application programming interfaces ().
In the context, (JSON for Linked Data) is particularly relevant. It lets you embed directly in a page's , for example details about products, articles, reviews or frequently asked questions. Search engines can use this markup to understand content better and sometimes display it as .
Important in practice:
JSON-LD should ideally be output server-side in the HTML,
structured data injected only client-side via JavaScript or a tag manager is captured less reliably.
Compared to , JSON is more compact and easier to handle for many web applications.