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

Re: JSON-LD Playground

From: Kingsley Idehen <kidehen@openlinksw.com>
Date: Mon, 11 Jul 2011 17:24:57 +0100
Message-ID: <4E1B23D9.1040901@openlinksw.com>
To: public-linked-json@w3.org
On 7/11/11 9:38 AM, Mark Birbeck wrote:
> Excellent work, Manu. What a great tool.
> And your CSS skills aren't so bad. ;)


Manu: can you add an option such that users can pass a JSON-LD resource 
URL? Once in place, I can then pass SPARQL Protocol URLs (where graph 
serialization format is set to JSON-LD)  to this program via cut and 
paste :-)

> Mark
> On Sat, Jul 9, 2011 at 10:24 PM, Manu Sporny<msporny@digitalbazaar.com>  wrote:
>> Hey folks,
>> There is now a live, Web-based JSON-LD processor available here:
>> http://json-ld.org/playground/
>> It uses the latest experimental JavaScript JSON-LD processor (Forge's
>> JSON-LD processor) written by Dave Longley. The processor includes some
>> of the latest changes we've been discussing on the mailing list. "@" is
>> now "@subject". "a" is now "@type".
>> It also implements the latest normalization algorithm that Dave's been
>> working on, which he will explain in a separate e-mail. The new
>> normalization algorithm works with all of the known, really nasty graph
>> isomorphism inputs that the old algorithm didn't handle. At present, we
>> do not know of a single case that the algorithm cannot handle.
>> The website also got a bit of a facelift. Not much of one since I'm no
>> graphic designer and my CSS skills are fairly lame.
>> The biggest addition is the Playground code, which allows you to:
>> 1. Type out arbitrary JSON-LD and view it in compact form,
>>    expanded form, normalized form, framed form and as TURTLE.
>> 2. Specify a JSON-LD frame to re-frame an arbitrary set of triples
>>    into a JSON data structure.
>> 3. Select a set of pre-made JSON-LD examples and view the output.
>> 4. Immediate feedback on the output of the JSON-LD processor.
>> 5. Syntax highlighting for JSON-LD and TURTLE, making it easier to
>>    spot and debug errors.
>> 6. Very minimal error handling - need to integrate a JSON linter at
>>    some point.
>> Give it a shot and let us know what you think of it. All code for the
>> site and the playground is available here:
>> https://github.com/json-ld/json-ld.org
>> -- manu
>> --
>> Manu Sporny (skype: msporny, twitter: manusporny)
>> President/CEO - Digital Bazaar, Inc.
>> blog: PaySwarm Developer Tools and Demo Released
>> http://digitalbazaar.com/2011/05/05/payswarm-sandbox/



Kingsley Idehen	
President&  CEO
OpenLink Software
Web: http://www.openlinksw.com
Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca: kidehen
Received on Monday, 11 July 2011 16:25:40 UTC

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