Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON-LD support #34

Open
biesnecker opened this issue Dec 19, 2015 · 5 comments
Open

JSON-LD support #34

biesnecker opened this issue Dec 19, 2015 · 5 comments

Comments

@biesnecker
Copy link

Is there any thought to adding support for JSON-LD? If no, any interest in pull requests that attempt to add rudimentary support?

@robstewart57
Copy link
Owner

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

@biesnecker
Copy link
Author

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! :-)

@LeifW
Copy link
Contributor

LeifW commented Dec 19, 2015

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

@robstewart57
Copy link
Owner

Hi @biesnecker , how far did you get with this JSON-LD parser?

@biesnecker
Copy link
Author

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
#34 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAR9dvmMp4etCDw9omjOwbKTlQo9h8yFks5q4HCTgaJpZM4G4nNH
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants