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 following code returns error "cbor: cannot unmarshal array into Go value of type interface {}"
s := "hello"
var v interface{} = s
cbor.Unmarshal(data, &v)
Decoder should handle not-nil interface in the same way as nil interface by storing appropraite Go type in the interface value. This behavior should be made consistent with encoding/json.
The text was updated successfully, but these errors were encountered:
The following code returns error "cbor: cannot unmarshal array into Go value of type interface {}"
Decoder should handle not-nil interface in the same way as nil interface by storing appropraite Go type in the interface value. This behavior should be made consistent with encoding/json.
The text was updated successfully, but these errors were encountered: