Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download

JSON-LD

< >

JSON-LD, aka JavaScript Object Notation for Linked Data, is an open source data validation language created in 2010 by Dave Longley.

#175on PLDB 14Years Old 0Repos
Download source code:
git clone https://github.com/digitalbazaar/jsonld.js

JSON-LD (JavaScript Object Notation for Linked Data), is a method of encoding Linked Data using JSON. It was a goal to require as little effort as possible from developers to transform their existing JSON to JSON-LD. This allows data to be serialized in a way that is similar to traditional JSON. Read more on Wikipedia...


Example from Linguist:
{ "@context": { "property": "http://example.com/vocab#property" }, "@id": "../document-relative", "@type": "#document-relative", "property": { "@context": { "@base": "http://example.org/test/" }, "@id": "../document-base-overwritten", "@type": "#document-base-overwritten", "property": [ { "@context": null, "@id": "../document-relative", "@type": "#document-relative", "property": "context completely reset, drops property" }, { "@context": { "@base": null }, "@id": "../document-relative", "@type": "#document-relative", "property": "only @base is cleared" } ] } }

View source

- Build the next great programming language About Resources Acknowledgements Part of the World Wide Scroll