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: Sat, 21 Jan 2012 22:55:59 +0800
To: <public-linked-json@w3.org>
Message-ID: <007701ccd84c$cc4faeb0$64ef0c10$@lanthaler@gmx.net>
> IMO, {"@literal": "foo"} means that there is no language, using
> {"@literal": "foo", "@language": null} seems excessively verbose, and
> null is not needed anywhere else. The @language in the context applies
> to plain strings.

Would that then in your opinion also mean that, e.g., all type coercions for
that property are ignored? I'm not a big fan of these kinds of "magic".
Setting it specifically to null would describe in a crystal clear way what
an author intends to do and everyone would IMO understand what it means
without reading the spec.

Markus Lanthaler
Received on Saturday, 21 January 2012 14:56:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:53:19 UTC