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
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
The text was updated successfully, but these errors were encountered:
wkornewald
changed the title
It's impossible to parse CBOR Web Tokens
It's impossible to parse non-string keys (e.g. see CBOR Web Tokens)
Jun 18, 2021
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 aMap
didn't seem to work because the implementation assumes that keys can only be strings.Environment
The text was updated successfully, but these errors were encountered: