Re: My Java implementation of JSON-LD

On Dec 18, 2011, at 9:07 AM, Dave Longley wrote:

> Thanks heaps, Tristan!
> If I weren't so busy (and perhaps loathed Java a little less :P) I 
> wouldn't mind helping out a bit. But it's probably better that I don't 
> anyway since the other implementations are heavily influenced by my 
> understanding of the spec. It's better if a wider range of people work 
> on various implementations.
> I would recommend trying to get the tests in the jsonld.js repo running; 
> they'll help cover the edge cases and ensure that your normalization 
> algorithm is correct (hopefully). There have been a few important 
> optimizations to the normalization algorithm since you ported your code 
> (I took a quick look), but they shouldn't change the output. The 
> optimizations just avoid some extra sorting that is unnecessary.
> At some point we'll be moving the tests over to the repo, 
> where they should be.

Yes, we need to move those tests over to the site. Manu and I talked about it, but I haven't gotten around to it yet. I think we'd like to be able to both download and run the tests locally, as with other RDF test suites, and to have a site that will poke a responder using a version of the JSON-LD API, similar to how the RDFa crazyivan test suite works.

In any case, it will need some update based on recent changes.


> ta!
> -Dave
> On 12/16/2011 10:05 AM, Tristan King wrote:
>> Hi Guys,
>> I've been working on translating the jsonld.js and PyLD code to java.
>> It can be found here:
>> It's not complete yet, but as I'm going on holidays for the next month I thought it best to just get it out there now incase anyone else is interested (The README has a list of notes and todos). If anyone else wants to work on this I'll have no trouble with accepting pull requests or adding other Collaborators (message me on github if you're interested).
>> I hope some people find this useful.
>> Thanks
>> -Tristan
> -- 
> Dave Longley
> Digital Bazaar, Inc.

Received on Sunday, 18 December 2011 23:19:57 UTC