Coder Social home page Coder Social logo

Comments (3)

sblom avatar sblom commented on June 16, 2024

Hey, Vagif. I have now pushed the tests. Sadly, they're a little bit hard to follow, but I've been cleaning them up opportunistically, and expect to find small amounts of time to continue to do so.

The short version of how to use the JSON-LD processor is: call one of the methods on the static class JsonLdProcessor. You can also look at the readme on http://github.com/jsonld-java/jsonld-java for a few examples.

Everywhere the Java version expects or returns an object, json-ld.net expects a Newtonsoft JToken. But otherwise the APIs are identical so far.

from json-ld.net.

ansell avatar ansell commented on June 16, 2024

The JSONLD-Java API is based on the JSON-LD-API specification, although we don't return Promises yet:

http://www.w3.org/TR/json-ld-api/#the-jsonldprocessor-interface

from json-ld.net.

object avatar object commented on June 16, 2024

Thank you for a quick response. I will check them out. It's so much easier to understand with tests.

from json-ld.net.

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.