You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
appendix_a.json is not terribly interoperable; the big integers lose precision when parsed with ECMAscript's JSON.parse(). RFC 7493 specifies a set of interoperability constraints that would be useful here.
If backward-compatibility is desired, a new property code be added. Example:
Some parsers (the one I know of at the moment is the one in Nim's standard library) will just reject the whole file thanks to these massive numbers. I plan to submit a PR tonight that makes these tests use "diagnostic" rather than "decoded".
appendix_a.json
is not terribly interoperable; the big integers lose precision when parsed with ECMAscript'sJSON.parse()
. RFC 7493 specifies a set of interoperability constraints that would be useful here.If backward-compatibility is desired, a new property code be added. Example:
This still wouldn't be I-JSON compliant, but would allow systems that have the constraints noted there to use this without as many gyrations.
The text was updated successfully, but these errors were encountered: