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'd love to see configurable serializers and deserializers that aren't baked into the struct.
I have a few structs that are shared between Rust crates, which typically prefer snake_case and interop with other languages that prefer camelCase.
Languages like Swift use separate encoders that can be configured to modify the key coding strategy without modifying the struct or duplicating it. I think it would be great to have something similar in serde.
The text was updated successfully, but these errors were encountered:
I'd love to see configurable serializers and deserializers that aren't baked into the struct.
I have a few structs that are shared between Rust crates, which typically prefer snake_case and interop with other languages that prefer camelCase.
Languages like Swift use separate encoders that can be configured to modify the key coding strategy without modifying the struct or duplicating it. I think it would be great to have something similar in serde.
The text was updated successfully, but these errors were encountered: