Skip to content
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

Attributes to customize serialization of complex types #753

Closed
dtolnay opened this issue Feb 8, 2017 · 1 comment
Closed

Attributes to customize serialization of complex types #753

dtolnay opened this issue Feb 8, 2017 · 1 comment

Comments

@dtolnay
Copy link
Member

dtolnay commented Feb 8, 2017

  • for maps, de/serialize_keys_with and de/serialize_values_with
  • for sequences, de/serialize_elements_with
#[serde(deserialize_keys_with = "url_serde::deserialize")]
HashMap<Url, Vec<TextEdit>>
@dtolnay
Copy link
Member Author

dtolnay commented Feb 13, 2017

Duplicate of #723.

@dtolnay dtolnay closed this as completed Feb 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant