Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for internally tagged enums in non self-describing formats
Deserializer methods are only hints which deserializer is not obliged to follow. Both TaggedContentVisitor and InternallyTaggedUnitVisitor accepts only visit_map and visit_seq and that is what derived implementation of Deserialize does for structs. Therefore it is fine to call deserialize_map here, as that already did in derived deserialize implementation
- Loading branch information