serde-xml-rs icon indicating copy to clipboard operation
serde-xml-rs copied to clipboard

xml-rs based deserializer for Serde (compatible with 1.0+)

Results 105 serde-xml-rs issues
Sort by recently updated
recently updated
newest added

I thought I would pass along some feedback from https://users.rust-lang.org/t/rust-serialization-to-xml/12212: > Serde documentation about xml sucks … :-/ I think they may have been comparing [`serde-xml-rs`](https://docs.rs/serde-xml-rs/0.2.0/serde_xml_rs/) against [`serde_json`](https://docs.rs/serde_json/1.0.2/serde_json/).

documentation

I am trying to decode this xml message: `USERTOKEN100000true` This is my code: ``` #[derive(Serialize,Deserialize)] struct XMLEnvelope { #[serde(rename = "soap:Body")] pub body: XMLSoapBody } #[derive(Serialize,Deserialize)] struct XMLSoapBody { #[serde(rename...

I am trying to serialize this ```rust #[derive(Serialize)] pub struct Test { pub val: Vec, } #[derive(Serialize)] pub enum TestEnum { #[serde(rename_all = "camelCase")] FirstEnum { content: String }, #[serde(rename_all...

This helps a lot to avoid shifting position of attributes

This way, one can configure parametes for the xml crate, like indentation. Any ideas for a shortcut function name? `serde_xml_rs::to_writer_from_event_writer`?

The customization works using serde-json but not the serde-xml-rs' one. The example is based on this doc page: [Deserialize either a string or a struct](https://serde.rs/string-or-struct.html) Using this Cargo.toml's dependencies: ```...

Without this change: ``` assertion `left == right` failed left: "BananaStore" right: "BananaStore" ```

Hello everyone, I got an error while parsing hackernoon page. The error looks like the following. Here is my serde struct for upto the point where it failed. ```rust #[derive(Serialize,...