rkv icon indicating copy to clipboard operation
rkv copied to clipboard

Add a JSON export API

Open rnewman opened this issue 6 years ago • 2 comments

It would be useful for debugging and testing to be able to dump an entire database as JSON.

This should be relatively easy to implement: all of our types work with Serde, so we would 'just' need to make an iterator over keys and values serialize as a container.

rnewman avatar Mar 20 '18 18:03 rnewman

N.B., implemented correctly, this actually gives us serialization to an open set of possible formats (e.g., CBOR). Hooray Serde!

rnewman avatar Mar 20 '18 18:03 rnewman

This will be fixed by https://github.com/mozilla/rkv/pull/158 in its final form.

victorporof avatar Oct 23 '19 19:10 victorporof