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
Error in derive(YaDeserialize): wrong number of type arguments: expected 1, found 0 #3
Comments
Starting to looks cool. Just a little remark: #[yaserde(attribute)]
#[yaserde(rename = "type")]
pub typ: String, can be a little more simple using: #[yaserde(attribute, rename="type")]
pub typ: String, Right now conversion to any type are not supported. So attribute value to |
Okay I found the issue ! Name #[yaserde(attribute, rename="name")]
pub named: String, So it will works ;-) |
Does it works ? |
Thanks! Btw, I'm looking forward to (The software that reads in the xml files I generate seems to ignore empty string attribs, so it works out, for now..) |
Okay cool, do you have time to improve and provide a support of |
I'm very busy until the end of this month (and have to prepare some stuff for RustFest), but after that I'll have some time.. |
Hi @Boscop, (I have also updated xml-rs to 0.8.0, just in case) |
I'm getting an error
for the following:
Btw, my goal is to serialize xml docs in this format:
How can I do this with yaserde? :)
The text was updated successfully, but these errors were encountered: