Juniper Tyree
Juniper Tyree
@workingjubilee Could you perhaps send me a failing example (I haven't used `typetag` before). Thanks!
CI for 1.46 is temporarily broken by https://github.com/serde-rs/serde/issues/2255 but should work again with the next version of `serde`.
I think serializing into the `Value` type really isn't an issue. The problem is maintaining all type information throughout the process. While `serde`'s JSON tricks can be applied to get...
Curious ... it seems the problem is in using `write!(vec, "{}", i)` to write a formatted int to the output ron, which is at this stage a `Vec`. Does this...
Could you perhaps test if ```rust use std::io::Write; fn main() { let mut v = Vec::new(); write!(v, "{}", 0_u128); println!("{}", std::str::from_utf8(&v).unwrap()); } ``` is enough to trigger the issue on...
@epgts Does this issue still persist with Rust 1.64 and ron 0.8?
During deserialization we read in and buffer all bytes. Could we do something similar and revert to appending to a String in the `Deserializer`, which is only flushed to a...
I'll take a look now
Ok, I think I can at least explain what's happening here. `#[serde(untagged)]` first deserializes into a private `Content` value type to buffer what has been found. Then all variants attempt...
#253 might be related, I'll check if it would fix the issue