json-db

Simple library for a document database saved on disk

Usage

```rust let db = JsonDB::init("your db name")?;

// Create a collection db.create_collection("your collection path")?;

// Write data to a document in a collection db.write("your collection path", "your document", "struct that derives serde::serialize")?;

// Read data from a document in a collection let data: impl serde::Deserialize = db.read("your collection path", "your document")?;

// Delete document in a collection db.delete("your collection path", "your document")?; ```