Skip to content

Deserialize object/map while maintaining order #269

Closed
@calebmer

Description

@calebmer

Is there a way to deserialize a map (like a JSON or YAML object) while maintaining the order of key/value pairs? The BTreeMap type deserializes into kind of what I want except it does not maintain order.

Deserializing a map to Vec<(K, V)> would be perfect.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions