rdf4h
rdf4h copied to clipboard
JSON-LD support
Is there any thought to adding support for JSON-LD? If no, any interest in pull requests that attempt to add rudimentary support?
JSON-LD support would be great! Parsing or serialisation, or both? It's not something I could commit time to, but a pull request would be very welcome. The existing parsers use the W3C test suite as its unit tests, which covers the rdf4h parsers for lots of corner cases, so having support JSON-LD with corresponding Haskell tests for the W3c JSON-LD tests would be ideal. See:
https://github.com/json-ld/json-ld.org/tree/master/test-suite
Cool, I'll put some thought into it over the holidays. For my specific use case I need to parse, but serialization into JSON-LD looks remarkably straightforward. I'll see what I can do! :-)
Using aeson, say? I'd been working on a serializer in Scala using a writer monad (I just adapted my existing JSON serializer and used the writer monad to "write" the parts I stripped away in converting to JSON into the context.) https://github.com/LeifW/Treeify/blob/master/src/main/scala/treeify/Treeify.scala
Hi @biesnecker , how far did you get with this JSON-LD parser?
Not far, sadly. Ended up having to write the project in C++ so didn't work too much on the Haskell parser.
On Thursday, October 27, 2016, Rob Stewart [email protected] wrote:
Hi @biesnecker https://github.com/biesnecker , how far did you get with this JSON-LD parser?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/robstewart57/rdf4h/issues/34#issuecomment-256594424, or mute the thread https://github.com/notifications/unsubscribe-auth/AAR9dvmMp4etCDw9omjOwbKTlQo9h8yFks5q4HCTgaJpZM4G4nNH .