-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot deserialize the serde_json::RawValue
#329
Comments
|
Is it planned / doable to make a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello!
The following code fails with
deserialization not working: Syntax("invalid type: newtype struct, expected any valid JSON value")
on thermp_serde:1.1.1
I tried:
struct NewType(Box<RawValue>)
;struct NewType { inner: Box<RawValue>}
with#[serde(flatten)]
or#[serde(transparent)]
.Nothing seems to work.
If I use
serde_json::to_ver/from_slice
, the test passes correctly.The text was updated successfully, but these errors were encountered: