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

Re: JSON-LD browser extensions

From: John Walker <john.walker@semaku.com>
Date: Wed, 31 Dec 2014 10:12:31 +0100 (CET)
To: Melvin Carvalho <melvincarvalho@gmail.com>
Cc: "public-linked-json@w3.org" <public-linked-json@w3.org>
Message-ID: <1199505346.2768221.1420017151683.open-xchange@oxweb01.eigbox.net>
Hi Melvin,


> On December 31, 2014 at 7:34 AM Melvin Carvalho <melvincarvalho@gmail.com>
> wrote:
> 
> 
> 
>  On 31 December 2014 at 07:11, John Walker <john.walker@semaku.com
> <mailto:john.walker@semaku.com> > wrote:
>    > > Hi,
> > 
> >    There are several extensions available for Chrome, FF etc. that pretty
> > print JSON. Some even make URLs into clickable links (guess based on
> > matching some regex).
> > 
> >    However (to my knowledge) none of these support JSON-LD.
> > 
> >    I reckon it'd be pretty cool to have something like this for JSON-LD that
> > would make any @id values into a clickable link to allow easier browsing
> > around JSON-LD resources (or an API). I think it would show that it is a
> > native hypermedia format and would help sell the idea to developer
> > community.
> > 
> >    Does such a thing exist and I missed it? Otherwise is anyone interested
> > to develop something. If not, I will put in a feature request for the
> > existing extensions to add support for JSON-LD.
> >  > 
>  Tabulator has support for many RDF formats as a data browser and editor.  It
> works as a browser extension and/or an html shim.
> 
>  https://github.com/linkeddata/tabulator
> 
>  I use it already quite a bit for turtle.
> 
>  Still quite a bit of work to do, so help is very welcome.  If anyone wants to
> help adding or testing JSON LD support that would be great.
> 

I was thinking more of something that could act as a simple explorer for JSON-LD
APIs that could help 'regular' web developers better understand potential
benefits of using JSON-LD over normal JSON. As such it would display the JSON-LD
response with some pretty-printing and CSS tricks to be able to collapse expand
objects and arrays and make anything that resolves to a URI into a clickable
link. This would make it super easy for developers to click through an API and
get a good idea of what the JSON looks like.

The JSON-LD playground and Hydra Console already go a long way towards this, but
not all the way (yet).

Tabulator is great and support for JSON-LD would be a useful addition, but I
think serves a different purpose, namely to browse/edit the abstract RDF graph
rather than a concrete serialization.

> 
>    > >    Regards,
> > 
> >    John
> >  > 
Received on Wednesday, 31 December 2014 09:12:56 UTC

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