Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a JSON export API #2

Open
rnewman opened this issue Mar 20, 2018 · 2 comments
Open

Add a JSON export API #2

rnewman opened this issue Mar 20, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@rnewman
Copy link
Contributor

rnewman commented Mar 20, 2018

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 rnewman added the enhancement New feature or request label Mar 20, 2018
@rnewman
Copy link
Contributor Author

rnewman commented Mar 20, 2018

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

mykmelez pushed a commit that referenced this issue Jan 4, 2019
fix cargo fmt errors; update test modules
@victorporof
Copy link
Contributor

This will be fixed by #158 in its final form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants