Ingvar Stepanyan
Ingvar Stepanyan
@MaikKlein Did you try other representations from https://serde.rs/enum-representations.html ? I would think in the worst case `untagged` should work (but one of tagged probably too).
Many people still use Rust 2015 edition and older versions of Rust. I strongly believe it's better to provide examples that are accessible to larger number of people and work...
Hmm why does `deserialize_with` care about speicialized methods at all? I assumed it would just be called _instead of_ whatever is defined as default implementation?
Just like with JSON, this is not possible for general case, unless, like with serde-json, you don't mind runtime error whenever your string contains escaped characters. It would be possible...
Unfortunately, this is how it's intended to work (at the moment). Serde's Deserializer trait is designed to work on streams and report items back as soon as they're found, so...
Huh, I truly hoped such examples don't exist in real-world :( > Wouldn't holding information about the leaf and references to the parent chain be enough? The way I see,...
Could you please provide more details?
I mean, details on how do you see this working on the Rust side? Obviously `:` is not a valid part of a Rust identifier, so you still need to...
Yeah, that's what I'm doing too.
@oli-obk While you're here - could you please reply to https://github.com/serde-rs/xml/issues/35#issuecomment-343310659? I left it a while ago but still don't know if it's desirable :)