serde-ml / serde

Serialization framework for OCaml
MIT License
174 stars 11 forks source link

Support unordered fields #13

Closed leostera closed 8 months ago

leostera commented 8 months ago

This PR adds a new deserialize_key feature to read the name of a field before deserializing the actual field value.

This helps implement manual and derived unordered-field deserializer and closes #10.

We also implemented support for the JSON data format, and extend our drivers to generate unordered-field by default.