qpdb / mentat

A persistent, relational store inspired by Datomic and DataScript.
https://mentat.rs/
Apache License 2.0
52 stars 2 forks source link

[edn] Support serde serialization and deserialization for `edn::Value` #251

Open gburd opened 4 years ago

gburd commented 4 years ago

It's quite convenient to be able to turn arbitrary things into EDN for debugging, and we have many places in the tree where we do just that. For example, this is used extensively in the mentat_db crate to assert_matches! EDN representations of datoms and transactions.

We could do this a little more generally if we made it easy to serialize into edn::Value.