W3C home > Mailing lists > Public > public-linked-json@w3.org > December 2011

Re: My Java implementation of JSON-LD

From: Gregg Kellogg <gregg@kellogg-assoc.com>
Date: Sun, 18 Dec 2011 18:18:58 -0500
To: Dave Longley <dlongley@digitalbazaar.com>
CC: "public-linked-json@w3.org" <public-linked-json@w3.org>
Message-ID: <3A31C9EF-3B08-40F8-903C-9F1036DC896A@kellogg-assoc.com>
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 json-ld.org repo, 
> where they should be.

Yes, we need to move those tests over to the json-ld.org 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.

Gregg

> 
> 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: https://github.com/tristan/jsonld-java
>> 
>> 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
> CTO
> Digital Bazaar, Inc.
> 
> 
Received on Sunday, 18 December 2011 23:19:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:32 UTC