Closed Half-Shot closed 5 years ago
>>> canonicaljson.encode_canonical_json({"ciphertext":{"T5jXYOv\/XAgAT5Z0Ld1tPfWIYZftmduZSmbS4Fu1l1o":{"body":"123","type":0},"iFgnZ+EKIvtyVOdOVFEoo\/VKOrWjjZd7YDGWHDOIf2Y":{"body":"456","type":0}}}) b'{"ciphertext":{"T5jXYOv\\\\/XAgAT5Z0Ld1tPfWIYZftmduZSmbS4Fu1l1o":{"body":"123","type":0},"iFgnZ+EKIvtyVOdOVFEoo\\\\/VKOrWjjZd7YDGWHDOIf2Y":{"body":"456","type":0}}}'
Which should surely be the other way around?
Nvm, my application was sorting alphabetically, not by ordinal
Which should surely be the other way around?