-
Notifications
You must be signed in to change notification settings - Fork 68
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
#[yaserde(flatten)] like #[serde(flatten)] ? #2
Labels
enhancement
New feature or request
Comments
I keep it in mind, but it's not my priority. If someone want to contribute, you are welcome ! |
Hello @Boscop , @DmitrySamoylov has updated the project and supported flatten feature. |
Sorry for the late reply, I get too many notifications.. |
MarcAntoine-Arnaud
pushed a commit
that referenced
this issue
Nov 5, 2024
* add cdata to config * add cdata * clean, debig, write raw * remove write raw test * use yaserde chars * map err * as dered * remove ? * potential fix * remove deref * remove debug, as_ref * fix * write raw * into_inner * fix * clean
mkairys-tru
pushed a commit
to TrueShort/yaserde
that referenced
this issue
Dec 9, 2024
* add cdata to config * add cdata * clean, debig, write raw * remove write raw test * use yaserde chars * map err * as dered * remove ? * potential fix * remove deref * remove debug, as_ref * fix * write raw * into_inner * fix * clean Signed-off-by: Mindaugas Kairys <m.kairys@trufintech.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be useful to have a way to "inline" struct fields into the parent struct for the purpose of (de)serialization, like this:
Like
#[serde(flatten)]
The text was updated successfully, but these errors were encountered: