coryrylan / ngx-lite

:package: A collection of lightweight Angular libraries in a single mono repo
https://ngxlite.com
MIT License
138 stars 21 forks source link

Character or line limit for json-ld? #25

Closed goelinsights closed 5 years ago

goelinsights commented 5 years ago

Attempting to update my schema files for the strategy described by Yoast below, which creates really long structured data files. https://yoast.com/yoast-seo-11-0/

Seeing a cutoff at ~150 lines where the json truncates suddenly and causes an error, since it doesn't close.

Is there anything you're aware of that would be driving that limit?

goelinsights commented 5 years ago

For anyone else that encounters this issue, you can use the '@id' in multiple components and from what I can tell, they get combined. So the workaround isn't complicated.