-
Notifications
You must be signed in to change notification settings - Fork 559
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
Deserializing a RawValue inside an untagged enum always fails #497
Comments
Ok, I think I get it now. @dtolnay Do you have opinions on putting |
Right, untagged enums are deserialized from a data structure that has been buffered into heap memory, not from the original JSON deserializer. I don't think a |
Closing in favor of serde-rs/serde#1183 since this issue is a direct consequence. |
Unfortunately deserialized untagged unions with RawValue does not work: serde-rs/json#497
Unfortunately deserialized untagged unions with RawValue does not work: serde-rs/json#497
cargo script
compatible example:I haven't figured out what's causing this yet.
The text was updated successfully, but these errors were encountered: