I'm serializing a dictionary to JSON in Razor Pages, however the quotation marks (% with%), are leaving as "
_Layout.cshtml (UTF-8)
...
<body>
...
<script type="application/ld+json">
@JsonConvert.SerializeObject(new Dictionary<string, string>
{
{ "@context", "http://schema.org" },
{ "@type", "Organization" },
{ "name", "Swenity" },
{ "url", "http://swenity.com" },
{ "logo", "/ui/lib/image/platform/swenity/basicPlatformWhite.png" }
})
</script>
...
</body>
Output:
{"@context":"http://schema.org","@type":"Organization","name":"HAHA","url":"http://example.com","logo":"http://example.com/image.png"}
How can I make them come out in the correct format? As "