-
Notifications
You must be signed in to change notification settings - Fork 235
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
Use $value and $unflatten together #430
Labels
Comments
As I said in #429, enums support leaves much to be desired. I wrote there how you can help. |
Mingun
added
bug
help wanted
serde
Issues related to mapping from Rust types to XML
labels
Jul 19, 2022
Mingun
added a commit
to Mingun/quick-xml
that referenced
this issue
Oct 1, 2022
This prefix just does nothing. Deserialzier already works as with them, out-of-box. Support for namespaces will be done in another PR This commit reverts 8cd971e Removed tests covered by following existing tests: - test_parse_unflatten_field - serde-de::struct_::elements - test_issue305_unflatten_namespace - serde-de::struct_::namespaces - test_issue305_unflatten_nesting - serde-de::nested_struct Fixes tafia#430
Mingun
added a commit
to Mingun/quick-xml
that referenced
this issue
Oct 1, 2022
Merged
Mingun
added a commit
to Mingun/quick-xml
that referenced
this issue
Oct 26, 2022
JOSEPHGILBY
pushed a commit
to JOSEPHGILBY/quick-xml
that referenced
this issue
Nov 5, 2022
This prefix just does nothing. Deserialzier already works as with them, out-of-box. Support for namespaces will be done in another PR This commit reverts 8cd971e Removed tests covered by following existing tests: - test_parse_unflatten_field - serde-de::struct_::elements - test_issue305_unflatten_namespace - serde-de::struct_::namespaces - test_issue305_unflatten_nesting - serde-de::nested_struct Fixes tafia#430
JOSEPHGILBY
pushed a commit
to JOSEPHGILBY/quick-xml
that referenced
this issue
Nov 5, 2022
JOSEPHGILBY
pushed a commit
to JOSEPHGILBY/quick-xml
that referenced
this issue
Nov 5, 2022
This prefix just does nothing. Deserialzier already works as with them, out-of-box. Support for namespaces will be done in another PR This commit reverts 8cd971e Removed tests covered by following existing tests: - test_parse_unflatten_field - serde-de::struct_::elements - test_issue305_unflatten_namespace - serde-de::struct_::namespaces - test_issue305_unflatten_nesting - serde-de::nested_struct Fixes tafia#430
JOSEPHGILBY
pushed a commit
to JOSEPHGILBY/quick-xml
that referenced
this issue
Nov 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have some XML that looks like:
which I would like to represent in rust as:
I have tried combining
$unflatten
and$value
to make this happen, but it doesn't seem to work:Cargo.toml:
src/main.rs:
Output:
Is it possible to do without introducing the extra
StateOuter
struct?The text was updated successfully, but these errors were encountered: