linked-data-dotnet/json-ld.net

Tests are not checked into a Git repositories

Closed this issue · 3 comments

I cloned the repo and wanted to check its tests to understand how it works. But although the solution file includes the test project, the project files are not pushed to the Git repo.

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.

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

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