{"id":20542804,"url":"https://github.com/jerryshell/csv2jsonobj","last_synced_at":"2026-04-20T11:02:57.931Z","repository":{"id":238977297,"uuid":"798153747","full_name":"jerryshell/csv2jsonobj","owner":"jerryshell","description":"CSV to JSON Object","archived":false,"fork":false,"pushed_at":"2024-12-21T21:41:24.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T15:26:58.912Z","etag":null,"topics":["csv","json","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jerryshell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-05-09T07:43:39.000Z","updated_at":"2024-12-21T21:42:07.000Z","dependencies_parsed_at":"2024-05-09T09:11:00.121Z","dependency_job_id":"0c17a146-79a3-447e-84bd-aeeef320d2ce","html_url":"https://github.com/jerryshell/csv2jsonobj","commit_stats":null,"previous_names":["jerryshell/csv2jsonobj"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fcsv2jsonobj","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fcsv2jsonobj/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fcsv2jsonobj/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerryshell%2Fcsv2jsonobj/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerryshell","download_url":"https://codeload.github.com/jerryshell/csv2jsonobj/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242149743,"owners_count":20079994,"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","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":["csv","json","rust"],"created_at":"2024-11-16T01:34:30.791Z","updated_at":"2026-04-20T11:02:57.872Z","avatar_url":"https://github.com/jerryshell.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSV to JSON Object\n\nWell, it is what it sounds like.\n\n## How to use\n\n```bash\ncargo install --locked --git https://github.com/jerryshell/csv2jsonobj\n```\n\n```bash\ncsv2jsonobj \u003ccsv_path\u003e [key_index]\n```\n\n`key_index` is optional, default is 0\n\n## Example\n\n```bash\n$ cat example.csv\nid,name,equiment_slot,stackable,attack,defense,block\nsword,Sword,MainHand,FALSE,60,0,0\nshield,Shield,OffHand,FALSE,0,100,25\nsteel_helmet,Steel Helmet,Head,FALSE,0,80,0\nleather_armor,Leather Armor,Chest,FALSE,0,110,0\njagged_arrow,Jagged Arrow,Projectiles,TRUE,20,0,0\n\n$ csv2jsonobj example.csv \u003e output.json\n\n$ cat output.json\n{\n  \"jagged_arrow\": {\n    \"attack\": 20.0,\n    \"block\": 0.0,\n    \"defense\": 0.0,\n    \"equiment_slot\": \"Projectiles\",\n    \"id\": \"jagged_arrow\",\n    \"name\": \"Jagged Arrow\",\n    \"stackable\": true\n  },\n  \"leather_armor\": {\n    \"attack\": 0.0,\n    \"block\": 0.0,\n    \"defense\": 110.0,\n    \"equiment_slot\": \"Chest\",\n    \"id\": \"leather_armor\",\n    \"name\": \"Leather Armor\",\n    \"stackable\": false\n  },\n  \"shield\": {\n    \"attack\": 0.0,\n    \"block\": 25.0,\n    \"defense\": 100.0,\n    \"equiment_slot\": \"OffHand\",\n    \"id\": \"shield\",\n    \"name\": \"Shield\",\n    \"stackable\": false\n  },\n  \"steel_helmet\": {\n    \"attack\": 0.0,\n    \"block\": 0.0,\n    \"defense\": 80.0,\n    \"equiment_slot\": \"Head\",\n    \"id\": \"steel_helmet\",\n    \"name\": \"Steel Helmet\",\n    \"stackable\": false\n  },\n  \"sword\": {\n    \"attack\": 60.0,\n    \"block\": 0.0,\n    \"defense\": 0.0,\n    \"equiment_slot\": \"MainHand\",\n    \"id\": \"sword\",\n    \"name\": \"Sword\",\n    \"stackable\": false\n  }\n}\n```\n\n## Test\n\n```bash\ncargo test\n```\n\n## License\n\n[GNU Affero General Public License v3.0](https://choosealicense.com/licenses/agpl-3.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Fcsv2jsonobj","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerryshell%2Fcsv2jsonobj","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerryshell%2Fcsv2jsonobj/lists"}