Closed julianbraha closed 1 year ago
it serialises / deserializes from "ok"
and "err"
not "Ok"
and "Err"
(Which is probably wrong but right at the same time, I'll make another change to allow both versions)
It'll default to uppercase for encoding since that's more in line with the behaviour of other enums, but I'll leave the code to also decode "ok" and "err" in addition to "Ok" and "Err".
Good catch 👍
GH seems to have issues right now this will be 0.7.2 when the servers calm down :)
Hi, thanks for getting to issue #35 so quickly! However, I'm having some problems with the changes introduced in PR #36. I've created a minimal example to illustrate:
This works fine, using
serde::Deserialize
:But when using
simd_json_derive::Deserialize
, this gives a runtime error:Here's the error it leads to: