# 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 implements 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")?; // List all document in a collection let list: Vec = db.list("your collection path")? ```