Collect remaining fields for biome_deserialize
#2698
Closed
NicholasLYang
started this conversation in
Ideas
Replies: 2 comments 7 replies
-
It is currently not possible. How |
Beta Was this translation helpful? Give feedback.
7 replies
-
This was implemented. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm looking to use biome_deserialize_macros to parse a
package.json
file. We want to collect any extra fields for other tools in a map, so if we serialize the file back to text, we preserve those extra fields. Is that possible with the current macro? Basically I would like serde's#[flatten]
but for biome.Beta Was this translation helpful? Give feedback.
All reactions