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

JSON-LD Playground

From: Manu Sporny <msporny@digitalbazaar.com>
Date: Sat, 09 Jul 2011 17:24:06 -0400
Message-ID: <4E18C6F6.5090806@digitalbazaar.com>
To: Linked JSON <public-linked-json@w3.org>
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/
Received on Saturday, 9 July 2011 21:24:32 UTC

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