{"id":15111266,"url":"https://github.com/kirill22012002/jsonasdatastorage","last_synced_at":"2026-02-17T14:01:07.823Z","repository":{"id":257549076,"uuid":"858609661","full_name":"Kirill22012002/JsonAsDataStorage","owner":"Kirill22012002","description":"JSON file as Data Storage.","archived":false,"fork":false,"pushed_at":"2024-10-31T04:28:11.000Z","size":48,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-04-12T02:25:21.651Z","etag":null,"topics":["c-sharp","dotnet","json","newtonsoft-json"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kirill22012002.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-09-17T08:02:38.000Z","updated_at":"2024-10-31T04:28:14.000Z","dependencies_parsed_at":"2024-09-17T10:40:43.975Z","dependency_job_id":"59c2236c-dc0d-46c3-a924-6e3a7b32d758","html_url":"https://github.com/Kirill22012002/JsonAsDataStorage","commit_stats":{"total_commits":20,"total_committers":3,"mean_commits":6.666666666666667,"dds":0.35,"last_synced_commit":"3a27defc9ed9263a6b1304ef3cc533d6ba52cc0f"},"previous_names":["kirill22012002/jsonasdatastorage"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kirill22012002/JsonAsDataStorage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirill22012002%2FJsonAsDataStorage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirill22012002%2FJsonAsDataStorage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirill22012002%2FJsonAsDataStorage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirill22012002%2FJsonAsDataStorage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kirill22012002","download_url":"https://codeload.github.com/Kirill22012002/JsonAsDataStorage/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kirill22012002%2FJsonAsDataStorage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278272286,"owners_count":25959524,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-sharp","dotnet","json","newtonsoft-json"],"created_at":"2024-09-26T00:02:55.700Z","updated_at":"2025-10-04T05:53:05.977Z","avatar_url":"https://github.com/Kirill22012002.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JsonAsDataStorage\n\n```csharp\npublic class User\n{\n  public string UserId { get; set; }\n  public string UserName { get; set; }\n}\n\n// init\nIBaseStorage\u003cUser\u003e userStorage = new BaseStorage\u003cUser\u003e(filePath: \"users.json\", idField: \"UserId\");\n\nvar user = new User\n{\n  UserId = Guid.NewGuid().ToString(),\n  UserName = \"Kirill\"\n};\n\n// insert new data\nawait userStorage.InsertItemAsync(user);\n\n// get by id\nvar result = await userStorage.GetItemAsync(user.UserId);\n\n// update by id\nawait userStorage.UpdateItemAsync(user.UserId, new User { UserId = user.UserId, UserName = \"Alexey\" });\n\n// delete by id\nawait userStorage.DeleteItemAsync(user.UserId);\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirill22012002%2Fjsonasdatastorage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkirill22012002%2Fjsonasdatastorage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkirill22012002%2Fjsonasdatastorage/lists"}