page-jsonld escaping: v1.21.1 parity and strictJsonld
Raw object fragment: "offers":{o}
o =
{"@context":"https://schema.org","@type":"Product","offers":{o}}
Raw array fragment: "offers":{o}
o =
{"@type":"Product","offers":{o}}
Raw numbers and booleans
{"price":{p},"count":{n},"inStock":{b},"used":{f}}
Quoted values with quote, backslash and newline
v =
{"name":"{v}","description":"Buy the {v} today"}
Pretty-printed, raw and quoted placeholders mixed
{
"name": "{v}",
"note": "escaped \"quotes\" in the template",
"offers": { o },
"position": {p}
}
Raw fragment containing </script>
{"@type":"Thing","data":{o}}
Quoted value containing a quote and </script>
{"@type":"Thing","name":"{v}"}
Reactive raw placeholder
{"@type":"Offer","price":{p}}
Pre-escaped value and list.join pattern
v =
{"name":"{v}","sameAs":["{list.join('","')}"]}
Quoted value that closes the string and adds a property
q =
{"@type":"SearchResultsPage","name":"{q}"}