We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For example,
#[derive(Serialize, Deserialize)] #[serde(remote = "B")] struct A; #[derive(Serialize, Deserialize)] struct Array { bs: Vec<B> }
#[serde(with = "A")] works only for singular field. Is there anything like #[serde(with_item = "A")]?
#[serde(with = "A")]
#[serde(with_item = "A")]
The text was updated successfully, but these errors were encountered:
Not currently. We are tracking this in #723. I would love your thoughts on a design!
Sorry, something went wrong.
How do i implementing the trait explicitly till #723 is resolved?
i am not able to find a function like, which i could use in the trait for serialize of Array:
Array
let b = B{} let mut a = A{}; serialize_as(&b, &mut a);
No branches or pull requests
For example,
#[serde(with = "A")]
works only for singular field. Is there anything like#[serde(with_item = "A")]
?The text was updated successfully, but these errors were encountered: