A JSON-LD structured data example using Schema.org — an Article with @context, @type, author, and publisher. Copy-ready for SEO rich results and Google structured data.
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "What is JSON?",
"acceptedAnswer": {
"@type": "Answer",
"text": "JSON is a lightweight data-interchange format."
}
}
]
}
Common Use Cases
→Adding rich-result markup to pages for Google Search
→Describing articles, products, FAQs, and breadcrumbs for SEO
→Publishing machine-readable linked data alongside HTML
json-ldschema.orgstructured dataseorich resultslinked data
Validate or format this JSON
One click loads this exact example into the tool — no copy-paste needed. Format it, validate it, explore the tree, or generate TypeScript types instantly.
Inside a <script type="application/ld+json"> tag, ideally in the <head> or anywhere in the <body>. Unlike microdata, JSON-LD is decoupled from your visible HTML, so it's the format Google recommends and the easiest to maintain.
@context defines the vocabulary (https://schema.org) so terms like 'author' are unambiguous. @type names the kind of thing you're describing (Article, Product, FAQPage). Together they let search engines and other consumers interpret your data.
Use Google's Rich Results Test and the Schema.org validator. They parse your JSON-LD, report errors and missing required fields, and tell you which rich result types your markup is eligible for.