W3C home > Mailing lists > Public > public-linked-json@w3.org > January 2012

RE: json-ld.org playground updated

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Thu, 19 Jan 2012 11:08:13 +0800
To: <public-linked-json@w3.org>
Message-ID: <005801ccd657$97d37be0$c77a73a0$@lanthaler@gmx.net>
On Thursday, January 19, 2012 5:02 AM, Alexandre Passant:
> On Wed, Jan 18, 2012 at 8:16 PM, Manu Sporny
> > After some discussion with Dave Longley, both of us feel that we
> should
> > kill this feature. It overly complicates the number of ways that you
> can
> > express a plain literal.
> You mean killing the "bar" : { "@value": "foo" } feature, and allowing
> it only it it comes together with a @type, @language or other
> attribute ?
> If so, the markup schema would change when one decide to add the
> @language in an existing JSON-LD documents. JSON(non-LD) parser that
> were using "bar" : "foo" will eventually not work anymore. So I'd
> rather keep it for making things uniform and more easily extendable.

I agree with Alexandre on this. As your fix showed it's trivial to
implement. We should not encourage this construct, but there's no reason to
not support it. That would just add another corner case IMO.

Can we add a test case for that? I don't know if we currently test the
Turtle output!?

Markus Lanthaler
Received on Thursday, 19 January 2012 03:08:52 UTC

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