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

Re: JSON-LD Playground

From: David I. Lehn <dil@lehn.org>
Date: Fri, 15 Jul 2011 16:52:38 -0400
Message-ID: <CADcbRRPXrFOtpvvg+9rFkcfiptFhN=-GJTq5T91sau_YLVPWOw@mail.gmail.com>
To: Kingsley Idehen <kidehen@openlinksw.com>
Cc: public-linked-json@w3.org
On Mon, Jul 11, 2011 at 12:24 PM, Kingsley Idehen
<kidehen@openlinksw.com> wrote:
> 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
> :-)

I added playground support for loading JSON-LD and/or frame data via
the query parameters "json-ld" and "frame". The parameters can be
either encoded JSON data or URLs.  Remote URLs must be CORS enabled.
The playground also generates a permalink using the current page data
(which can be quite unwieldy, but hey, it works).

Some short examples:
JSON-LD string: http://goo.gl/X20Jz
JSON-LD URL: http://goo.gl/9wbOf

And the associated long versions:

Received on Friday, 15 July 2011 22:31:20 UTC

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