JSON-LD in the Next.js App Router: Typed Schema, XSS-Safe Serialization, and What Google Still Uses — Field Notes 8a12b6
Headline: In the Next.js App Router, JSON-LD belongs in a plain <script type="application/ld+json"> rendered by a Server Component, serialized with JSON.stringify(data).replace(/</g, '\\u003c') so pag