Author anders.rundgren.net@gmail.com
Recipients anders.rundgren.net@gmail.com, eric.smith, ezio.melotti, mark.dickinson, pitrou, rhettinger
Date 2016-02-02.06:26:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454394408.99.0.887103387774.issue26229@psf.upfronthosting.co.za>
In-reply-to
Content
An easier fix than mucking around in the pretty complex number serializer code would be adding an "ES6Format" option to the "json.dump*" methods which could use the supplied conversion code as is.

For JSON parsing in an ES6-compatible way you must anyway use an "OrderedDict" hook option to get the right (=original) property order.
History
Date User Action Args
2016-02-02 06:26:49anders.rundgren.net@gmail.comsetrecipients: + anders.rundgren.net@gmail.com, rhettinger, mark.dickinson, pitrou, eric.smith, ezio.melotti
2016-02-02 06:26:48anders.rundgren.net@gmail.comsetmessageid: <1454394408.99.0.887103387774.issue26229@psf.upfronthosting.co.za>
2016-02-02 06:26:48anders.rundgren.net@gmail.comlinkissue26229 messages
2016-02-02 06:26:48anders.rundgren.net@gmail.comcreate