Skip to content
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

Capture extra fields in Map<String, Value> in deserialization #24

Open
sztomi opened this issue Aug 12, 2023 · 0 comments
Open

Capture extra fields in Map<String, Value> in deserialization #24

sztomi opened this issue Aug 12, 2023 · 0 comments

Comments

@sztomi
Copy link
Owner

sztomi commented Aug 12, 2023

Serde supports this: serde-rs/serde#1179

This allows using the library with protocol messages that are not entirely spec-compliant, while also making it slightly forward-compatible with newer spec versions (i.e. newly added fields would be deserialized into this field).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant