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
{{ message }}
This repository was archived by the owner on Mar 22, 2026. It is now read-only.
When serializing/deserializing values of a variant type, we'd like the constructor name placement to be configurable.
Internally tagged with a new name:
typeuser [@@serde {tag = "type"}]
On an variant: Use the internally tagged enum representation, with the given tag.
On a record: Serialize the record name as a field with the given key, in front of all the real fields of the struct.
Adjacently tagged with tag and content in different fields (only for variants):
When serializing/deserializing values of a variant type, we'd like the constructor name placement to be configurable.
On an variant: Use the internally tagged enum representation, with the given tag.
On a record: Serialize the record name as a field with the given key, in front of all the real fields of the struct.