RE: Querying JSON-LD on client side

On 16 Jul 2015 at 21:32, Olivier Rossel wrote:
> If the API accepts to return RDF/N3, you can use the N3 parser here:
> t/
> and retrieve your data as a graph of javascript objects on the client side.
> You can then traverse that graph in whatever way you want.

Niklas (CC'ed) implemented the same for JSON-LD:

Here's an example of how it can be used:

He even went as far as writing a simple spec for it:

It's quite straightforward. 


Markus Lanthaler

Received on Friday, 17 July 2015 17:12:07 UTC