You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Examples of usage with Google's Structured Data JSON LD? #62
Despite this being the premier JSON-LD library for python, the examples are sparse and leave a lot to the imagination. Or maybe it's just me. In frustration I ended up resorting to dicts and json for now, but wanted to see if we could get some more examples and documentation up.
Here are examples of outputting jsonld Google's way:
What kind of examples and docs were you all looking for? It could be argued that generic JSON-LD authoring and usage info should be on some other site. Improved docs for pyld in particular would be very welcome. Does anyone have suggestions (or patches!) on what do add?
Activity
gustavorps commentedon Aug 8, 2017
+1
tkremmel commentedon Feb 1, 2018
It is not just you.. also falling back to dicts and json for now.
davidlehn commentedon Feb 1, 2018
What kind of examples and docs were you all looking for? It could be argued that generic JSON-LD authoring and usage info should be on some other site. Improved docs for pyld in particular would be very welcome. Does anyone have suggestions (or patches!) on what do add?
tkremmel commentedon Feb 1, 2018
I tried to build structured data for a
BlogPosting. So one suggestion would be to provide more examples which also include nestings.bcipolli commentedon May 22, 2020
@davidlehn An example for, given a json-ld file, how would one open it? Use it? Get dependencies? Complete mystery.
mielvds commentedon Sep 1, 2026
Will be available as tutorial in v4.0.0 (#326)