You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to parse Minecraft game metadata: advancements, loot tables, enchantments and more. They are defined as JSON files. But there schema changes between versions.
serde doesnt really come with builtin features required to provide versionied structs that autoconvert. There are some derive crates that add it.
In my mind, facet should come with better support, since it allows for runtime reflection IIRC. Is there already a plan/support for versioned structs/enums? If not, would there be any methods/functioanlity that might help me realize this?
Thanks for this great library and a new fresh approach you brought with it!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to parse Minecraft game metadata: advancements, loot tables, enchantments and more. They are defined as JSON files. But there schema changes between versions.
serde doesnt really come with builtin features required to provide versionied structs that autoconvert. There are some derive crates that add it.
In my mind, facet should come with better support, since it allows for runtime reflection IIRC. Is there already a plan/support for versioned structs/enums? If not, would there be any methods/functioanlity that might help me realize this?
Thanks for this great library and a new fresh approach you brought with it!
Beta Was this translation helpful? Give feedback.
All reactions