Describe the bug
According to the RFC, CBOR Web Tokens use a map with integer keys:
https://datatracker.ietf.org/doc/html/rfc8392
Currently, there is no way to parse such data. Ideally, @SerialName would support arbitrary keys (integer, string, etc.), but even parsing into a Map didn't seem to work because the implementation assumes that keys can only be strings.
Environment
- Kotlin version: 1.5.10
- Library version: 1.2.1