Open
Description
What is your use-case and why do you need this feature?
I want to have canonical encodings to cross-test kotlin implementation of my program with implementations from other languages. Are there any plans to support Deterministic encoding of cbor as described in https://www.rfc-editor.org/rfc/rfc8949.html#section-4.2?
Describe the solution you'd like
Either a annotation or function APIs in serializers that makes this easy to use.
Related question, are the integers guaranteed to be minimally encoded? If I sort the keys in cbor map, am I guaranteed to follow 8949 spec?