Re: JSON-LD streams

Hi again,

As nobody had any objections against this effort, I've implemented an 
npm library called "jsonld-stream" with 4 functions:
  1. Serialize
  2. Deserialize
  3. Jsonld-stream to triples
  4. Triples to jsonld-stream

Feel free to fork the code over here: 
https://github.com/pietercolpaert/jsonld-stream

Kind regards,

Pieter

On 31-08-15 15:02, Pieter Colpaert wrote:
> Hi all,
>
> While building javascript applications, I love to keep my internal 
> data models as interoperable as possible. I thus build my javascript 
> objects according to the JSON-LD specification. During the course of 
> the program I may stream in/out various document, sometimes I may 
> modify the @context and occasionally I will store these 
> objects/documents.
>
> It could be interesting to create a small specification describing how 
> to deal with JSON-LD object streams in javascript. A first try can be 
> found on github [1]
>
> [1] https://github.com/pietercolpaert/jsonld-stream
>
> Looking forward to hearing your thoughts,
>
> Pieter
>

-- 
+32486747122
Linked Open Transport Data researcher
UGent - MMLab - iMinds

Board of Directors Open Knowledge Belgium
http://openknowledge.be

Open Transport working group coordinator at Open Knowledge International
http://transport.okfn.org

Received on Friday, 4 September 2015 13:39:40 UTC