[x3d-public] relationship between ECMA JSON specification and IETF RFC 7159

Don Brutzman brutzman at nps.edu
Tue Nov 24 08:03:03 PST 2015


Here is some further background information on JSON specifications.

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

Collected references can be found at
http://www.web3d.org/x3d/stylesheets/X3dToJson.html#References

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at 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



More information about the x3d-public mailing list