ACTION-732: Investigate relationship between ECMA's JSON spec and IETF RFC 7159

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

State:
closed
Person:
Don Brutzman
Due on:
November 24, 2015
Created on:
November 17, 2015
Related emails:
  1. Agenda for 15 December EXI Telecon (from tkamiya@us.fujitsu.com on 2015-12-14)
  2. Re: Agenda for 08 December EXI Telecon (from carine@w3.org on 2015-12-08)
  3. Agenda for 08 December EXI Telecon (from tkamiya@us.fujitsu.com on 2015-12-07)
  4. Agenda for 01 December EXI Telecon (from tkamiya@us.fujitsu.com on 2015-11-30)
  5. Re: ACTION-732: Investigate whether ecma's json spec is more appropriate to make a reference to or not. (from brutzman@nps.edu on 2015-11-24)
  6. Re: ACTION-732: Investigate whether ecma's json spec is more appropriate to make a reference to or not. (from brutzman@nps.edu on 2015-11-17)
  7. ACTION-732: Investigate whether ecma's json spec is more appropriate to make a reference to or not. (from sysbot+tracker@w3.org on 2015-11-17)

Related notes:

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.

Don Brutzman, 17 Nov 2015, 15:54:14

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.

Don Brutzman, 24 Nov 2015, 15:49:14

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

Don Brutzman, 24 Nov 2015, 15:50:48

Display change log.


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 732.html,v 1.1 2018/11/23 13:51:23 carine Exp $