public static void encode(FacesContext context, JsonLDModel model, String id) throws IOException {
        ResponseWriter writer = context.getResponseWriter();

        writer.startElement("script", null);
        writer.writeAttribute("id", id, null);
        writer.writeAttribute("type", "application/ld+json", null);

        encodeModel(context, model);

        writer.endElement("script");
    }
Create a script of type `ld+json` for Advanced SEO using JSON for Linking Data.
Data is messy and disconnected. JSON-LD organizes and connects it, creating a better Web.

@see <a href="https://json-ld.org/">JSON for Linking Data</a>
@since 12.0.0
primefaces/src/main/java/org/primefaces/seo/JsonLD.java