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
I think this would be best done outside of the core cbor-x encoder (like #49). Since JavaScript objects are ordered, rearranging properties is incompatible with correct preservation of object state (which is already a deterministic encoding). But, of course, if we had a separate module that created new JS objects/maps that had been explicitly re-ordered to match the "deterministic encoding" requirement of this spec (that is clearly intended for unordered maps), that would be the best way to match this.
I'm required to be quite strict and follow this rule:
https://cbor-wg.github.io/CBORbis/draft-ietf-cbor-7049bis.html#section-4.2.1-2.3.1
if i don't then my program complains that my cbor data is invalid...
The text was updated successfully, but these errors were encountered: