On Fri, Mar 16, 2018 at 2:43 PM, Anders Rundgren < [email protected]> wrote:
> On 2018-03-16 19:30, Mike Samuel wrote: > >> 2. Any numbers with minimal changes: dropping + signs, normalizing zeros, >> using a fixed threshold for scientific notation. >> PROS: supports whole JSON value-space >> CONS: less useful for hashing >> CONS: risks loss of precision when decoders decide based on presence >> of >> decimal point whether to represent as double or int. >> > > Have you actually looked into the specification? > https://cyberphone.github.io/doc/security/draft-rundgren-jso > n-canonicalization-scheme.html#rfc.section.3.2.2 > ES6 has all what it takes. > Yes, but other notions of canonical equivalence have been mentioned here so reasons to prefer one to another seem in scope.
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

