-
Notifications
You must be signed in to change notification settings - Fork 17
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
Support parsing duplicate sections to Vec<T> #19
Comments
fwiw master currently has a similar example that deserializes to a top-level |
Ah indeed it does, so this was a bit unnecessary of me bringing it up i guess;P |
Even so, it seems reasonable to expect your example to work. This is also related to allowing duplicate keys to be {de,}serialized as a vec. |
But the feature was incomplete right? |
The example in master is incomplete because it can only deserialize. Serialization fails because it is not implemented.
The example linked does work, but its approach differs from yours (uses a top-level vec of an enum instead of a top-level map with a vec field). I'm pretty sure your code still does not work. |
As far as i can tell it's not supported.
Here's an example:
The text was updated successfully, but these errors were encountered: