# CSJsonDB **Repository Path**: fasterfish/CSJsonDB ## Basic Information - **Project Name**: CSJsonDB - **Description**: No description available - **Primary Language**: C# - **License**: MIT - **Default Branch**: add-license-1 - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-11-24 - **Last Updated**: 2021-12-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CSJsonDB ## Introduction This is a simple C# package that performs basic CRUD ( Create, Read, Update, Delete ) operations on a Json file, used for sample minimalistic DBs. ## Installation Install via .NET CLI ```bash dotnet add package CSJsonDB --version 1.0.0 ``` Install via Package Manager ```bash Install-Package CSJsonDB --version 1.0.0 ``` Add the directive `using CSJsonDB;` Sample DB `users.db` ```json { "users": [ { "id": 1, "firstname": "kelechi", "lastname": "onyekwere", "age": 19, "verified": true }, { "id": 2, "firstname": "john", "lastname": "doe", "age": 33, "verified": true }, { "id": 3, "firstname": "mark", "lastname": "parker", "age": 20, "verified": false } ] } ``` ### Load the Sample DB ```c# var db = JsonDB.load("filetosampledb/users.db"); ``` ## Available Methods 🧨 >**NOTE**
>Response are returned as objects. You can use `.toJsonString()` method to return json string from a json object