-
-
Notifications
You must be signed in to change notification settings - Fork 31
V1: Field Aliases and Alias Paths
Ritvik Nag edited this page Jan 20, 2025
·
2 revisions
This feature, introduced in v0.35.0, allows setting alternate names for dataclass field(s) for de/serialization, as well as supported "nested paths" for de-serialization.
For example, an alternate name like v-info can be de-serialized to a dataclass field named version_info, or a nested path like a.b.c[0] can be de-serialized to a dataclass field.
For more info, check out the dedicated section: