Coder Social home page Coder Social logo

JSON-LD support about rdf4h HOT 5 OPEN

robstewart57 avatar robstewart57 commented on August 18, 2024 1
JSON-LD support

from rdf4h.

Comments (5)

robstewart57 avatar robstewart57 commented on August 18, 2024

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

from rdf4h.

biesnecker avatar biesnecker commented on August 18, 2024

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

from rdf4h.

LeifW avatar LeifW commented on August 18, 2024

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

from rdf4h.

robstewart57 avatar robstewart57 commented on August 18, 2024

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

from rdf4h.

biesnecker avatar biesnecker commented on August 18, 2024

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
.

from rdf4h.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.