What is JSON-LD?
JSON-LD (JavaScript Object Notation for Linked Data) is the recommended format for implementing structured data on web pages. It's a script-based method that doesn't require changes to the visible HTML.
JSON-LD is Google's preferred structured data format (over Microdata and RDFa) because it separates the structured data from the HTML markup, making it easier to implement and maintain.
Implementation: Add a <script type='application/ld+json'> tag containing your schema data, typically in the page's <head> or <body>.
Advantages over other formats: - Doesn't modify your HTML templates - Easier to generate dynamically (from CMS data, APIs, etc.) - Easier to debug and validate - Can include data not visible on the page
Common JSON-LD schema types: Organization, Article, FAQPage, Product, BreadcrumbList, SoftwareApplication, LocalBusiness, Person.
Validate with Google's Rich Results Test or Schema.org validator.
Example
A Product page might include: {"@context": "https://schema.org", "@type": "Product", "name": "Vantacron Agency", "offers": {"@type": "Offer", "price": "299", "priceCurrency": "USD"}}.