[issue26229] Make number serialization ES6/V8 compatible

Mark Dickinson report at bugs.python.org
Tue Feb 2 02:43:31 EST 2016


Mark Dickinson added the comment:

> For JSON parsing in an ES6-compatible way you must anyway use an "OrderedDict" hook option to get the right (=original) property order.

Why? From the JSON spec: "An object is an *unordered* set of name/value pairs." (emphasis mine). What do you mean by "JSON parsing in an ES6-compatible way"? Surely the JSON specification is all that should matter when determining how to parse JSON?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26229>
_______________________________________


More information about the Python-bugs-list mailing list