W3C home > Mailing lists > Public > public-rdf-wg@w3.org > March 2011

Re: RDF-ISSUE-16 (Base JSON Grammar): What is the normative serialization of the JSON grammar? [RDF JSON]

From: Andy Seaborne <andy.seaborne@epimorphics.com>
Date: Fri, 25 Mar 2011 14:09:40 +0000
Message-ID: <4D8CA224.8010203@epimorphics.com>
To: RDF Working Group WG <public-rdf-wg@w3.org>


On 25/03/11 13:53, RDF Working Group Issue Tracker wrote:
>
> RDF-ISSUE-16 (Base JSON Grammar): What is the normative serialization of the JSON grammar? [RDF JSON]
>
> http://www.w3.org/2011/rdf-wg/track/issues/16
>
> Raised by: Manu Sporny
> On product: RDF JSON
>
> There are currently three JSON grammar serializations, which one should this Working Group use as the basis for the RDF/JSON serialization:
>
>   * RFC4627: http://www.ietf.org/rfc/rfc4627.txt
>   * ECMA-262 5th Edition: http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf
>   * json.org: http://json.org/

How do they differ?
Are there real world examples of collisions?

> I assert that we should use RFC4627 because it is correct and simple for parser developers to read.

And because it defines application/json so it is the on-the-wire definition.

	Andy

(And because it does not even mention escaping "/" in strings except for 
the backwards compatibility bit in the grammar)

>
>
>
>
Received on Friday, 25 March 2011 14:10:18 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:04 UTC