Closed planetis-m closed 5 months ago
Sorting keys as utf16 is an absolute non. Formatting numbers works correctly if we set forceTrailingDotZero=false, for the schubfach and dragonbox algorithms provided by the stdlib. Need to make a proc canonify
that returns string.
As good as it can be without overcomplicating things to follow stupid standards.
And maybe a
$
operator that follows rfc8785 Also see: https://github.com/jackhftang/canonicaljson.nim