Closed janmazak closed 7 months ago
It seems that CBOR a0 is parsed as an empty object, not a Map. Subsequent validations like data instanceof Map thus do not work. It would be more appropriate to parse it as new Map().
a0
data instanceof Map
new Map()
Also seeing this problem arise.
I can add an option to always produce maps.
That would be great. Thanks.
Please review #189
It seems that CBOR
a0
is parsed as an empty object, not a Map. Subsequent validations likedata instanceof Map
thus do not work. It would be more appropriate to parse it asnew Map()
.