Closed smoelius closed 2 years ago
Oh, the deserialize_str
behavior of serde is a bit hard to understand. I will fix it immediately.
Oh, the deserialize_str
behavior of serde is a bit hard to understand. I will fix it immediately.
Thanks for the prompt reply.
I think this is like a bug in serde handling of enum, because the String
type should obviously call deserialize_string
to benefit from the owned type. but this is not a strong agreement, so cbor4ii
should not rely on it.
I get:
Can you tell me what am I doing wrong?