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

Tests are not checked into a Git repositories #1

Closed
object opened this issue Mar 6, 2014 · 3 comments
Closed

Tests are not checked into a Git repositories #1

object opened this issue Mar 6, 2014 · 3 comments

Comments

@object
Copy link
Contributor

object commented Mar 6, 2014

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.

@sblom
Copy link
Member

sblom commented Mar 6, 2014

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.

@ansell
Copy link

ansell commented Mar 6, 2014

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

@object
Copy link
Contributor Author

object commented Mar 6, 2014

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

@object object closed this as completed Mar 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants