HashMap should remember key order #66
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Telodendria/Cytoplasm#66
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
While trying make one thing with HashMap and Json i noticed that HashMap are not alphabetely sorted, but it's required to signing json
With this code:
I have this output
Position of keys are not same as code
Note that for the purposes of signing JSON in compliance with the Matrix specification,
CanonicalJsonEncode()
shall be used. If there is an implementation error inCanonicalJsonEncode()
, please open an issue on the Telodendria repository.I'll keep this issue open because it may be a nice feature to have in Cytoplasm, but this issue should already be solved in Telodendria.