Re: ACTION-732: Investigate whether ecma's json spec is more appropriate to make a reference to or not.

Retitled: Investigate relationship between ECMA's JSON spec and IETF RFC 7159

Questions were considered during the EXI telcon 17 NOV 2015 regarding which specification to use for encoding JSON.

The ECMA 404 JSON specification is the normative reference for JSON.

JSON is a subset of the ECMA 262 JavaScript specification that avoids assignment or invocation.

RFC 7159 JSON Data Interchange Format notes that "All of the specifications of JSON syntax agree on the syntactic elements of the language."

RFC 7159 notes media type information for JSON. Further goals are to "remove inconsistencies with other specifications of JSON, and highlight practices that can lead to interoperability problems.

RFC 7159 provides examples of lack of interoperability among JSON parsers, generators and tools for values, objects, arrays, numbers, strings, and booleans. It also shows how to avoid such problems. Thus it is an important reference for any EXI-style encoding of JSON, and likely needs to be considered normative.

RFC 7159 is available at https://tools.ietf.org/html/rfc7159


On 11/17/2015 7:56 AM, Don Brutzman wrote:
> On 11/17/2015 7:34 AM, Efficient XML Interchange Working Group Issue Tracker wrote:
>> ACTION-732: Investigate whether ecma's json spec is more appropriate to make a reference to or not.
>>
>> https://www.w3.org/2005/06/tracker/exi/actions/732
>
> Additional references:
>
> JSON Data Interchange Format, ECMA Standard ECMA-404, first edition, October 2013.
> http://www.ecma-international.org/publications/standards/Ecma-404.htm
> http://www.ecma-international.org/publications/files/ecma-st/ECMA-404.pdf
>
> ECMAScript Language Specification, ECMA Standard ECMA-262, sixth edition, June 2015.
> http://www.ecma-international.org/ecma-262/6.0/
> http://www.ecma-international.org/publications/files/ecma-st/ECMA-262.pdf
>
> Introducing JSON
> http://www.json.org
> describes JSON design goals, grammar and syntax.
>
> Douglas Crockford, JavaScript: The Good Parts,
> http://shop.oreilly.com/product/9780596517748.do
> O'Reilly and Associates, Sebastopol California, May 2008. Includes summary chapter on JSON and extensive detail on effective JavaScript usage.

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman@nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman

Received on Tuesday, 24 November 2015 16:04:45 UTC