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
The repository has a limitation where it throws an error: "The type of key must be string or number"
I’d like to understand whether it’s acceptable to address this by converting the key to JSON before processing or by adding a callback function for the consumer to handle this case.
Using an object as a key is supported in other languages, and I need to decode data encoded with a MessagePack library from another language.
The text was updated successfully, but these errors were encountered:
I know MessagePack spec allows any types to be used as keys, but it doesn't make sense to JavaScript's object. Map can have any type of keys, but easiest solution is not to use non-string objects as keys.
The repository has a limitation where it throws an error: "The type of key must be string or number"
I’d like to understand whether it’s acceptable to address this by converting the key to JSON before processing or by adding a callback function for the consumer to handle this case.
Using an object as a key is supported in other languages, and I need to decode data encoded with a MessagePack library from another language.
The text was updated successfully, but these errors were encountered: