serde-xml-rs
serde-xml-rs copied to clipboard
xml-rs based deserializer for Serde (compatible with 1.0+)
Exposes the `Serializer::new_from_writer` constructor to allow users to create a custom `Serializer` from an `xml::EventWriter`.
Adds a failing integration test for nested structures that contain repeating keys. `xml-rs` appears to not be able to find an ending XML token in the nested inner structure when...
This is an attempt at fixing #186 . Although the fix seems to work, I haven't fully understood why and so I'm not sure if it's the right fix or...
tl;dr: If an element can contain 0-N child elements, it's not sufficient to specify the child elements in a struct field of type `Vec`. You have to wrap the `Vec`...
Deserializing attributes works fine. But how can i serialize to attributes?
Fixes #207 (by making unit variants responsible for rendering any outstanding `start_tag` before rendering their bodies). Also adds support for rendering unit variants as string content (which is a common...
I had this pragram: ```rust use serde::Serialize; #[derive(Serialize)] enum Anmial { Cat, Dog, } #[derive(Serialize)] struct A { field: Anmial, } fn main() { let v = A { field:...
Hi, My application (since 1 year) use your lib - and thank you a lot for your work ! But I have face a problem... My last published version works...
Hi ! I have this message printing when I run my app with `cargo run --bin ...`, but not in production (as it is said - ignored in release mode)...
When attempting to serialize a struct, I get the error `LastElementNameNotAvailable` Looking at the xml-rs code, that error is emitted after it fails to pop a name off of the...