Mobile app version of vmapp.org
Login or Join
XinRu657

: Can I minify JSON-LD without affecting the output in search engines? Can these type of scripts be minified without affecting the output in search engines? Example script: <script type="application/ld+json">

@XinRu657

Posted in: #JsonLd #RichSnippets

Can these type of scripts be minified without affecting the output in search engines?

Example script:

<script type="application/ld+json">
{
"@context": "example.com",
"@type": "Organization",
"url": "example.com",
"logo": "example.com/logo.png"
}
</script>

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @XinRu657

1 Comments

Sorted by latest first Latest Oldest Best

 

@Eichhorn148

You can only minify it on the HTML way, with deleting of needless spaces, like:

{"@context":"some-domain.com","@type":"Organization","url":"some-domain.com","logo":"some-domain.com/logo.png"}


Its functionality remains.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme