{"id":22870336,"url":"https://github.com/berquerant/csv2json","last_synced_at":"2025-06-26T03:33:10.224Z","repository":{"id":63753553,"uuid":"569079788","full_name":"berquerant/csv2json","owner":"berquerant","description":"Convert csv data from stdin into json.","archived":false,"fork":false,"pushed_at":"2023-02-28T12:58:57.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T11:31:18.469Z","etag":null,"topics":["zig"],"latest_commit_sha":null,"homepage":"","language":"Zig","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/berquerant.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":"2022-11-22T03:05:45.000Z","updated_at":"2022-11-22T03:08:39.000Z","dependencies_parsed_at":"2025-02-06T16:50:58.116Z","dependency_job_id":"7bf42eaa-2e62-4d98-b46c-b6f2ae487d5c","html_url":"https://github.com/berquerant/csv2json","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/berquerant/csv2json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fcsv2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fcsv2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fcsv2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fcsv2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berquerant","download_url":"https://codeload.github.com/berquerant/csv2json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Fcsv2json/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261994182,"owners_count":23241952,"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":["zig"],"created_at":"2024-12-13T13:14:34.594Z","updated_at":"2025-06-26T03:33:10.201Z","avatar_url":"https://github.com/berquerant.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# csv2json\n\nConvert csv data from stdin into json.\n\n```\n$ cat account.csv\nid,name,department\n1,account1,HR\n2,account2,Dev\n4,account4,HR\n3,account3,PR\n$ csv2json -i \u003c account.csv\n{\"id\":1,\"name\":\"account1\",\"department\":\"HR\"}\n{\"id\":2,\"name\":\"account2\",\"department\":\"Dev\"}\n{\"id\":4,\"name\":\"account4\",\"department\":\"HR\"}\n{\"id\":3,\"name\":\"account3\",\"department\":\"PR\"}\n$ csv2json \u003c account.csv\n[\"id\",\"name\",\"department\"]\n[1,\"account1\",\"HR\"]\n[2,\"account2\",\"Dev\"]\n[4,\"account4\",\"HR\"]\n[3,\"account3\",\"PR\"]\n```\n\n## Package management\n\nDepends on:\n\n- [build.zig](./build.zig)\n- [requirements.txt](./requirements.txt)\n- [package.sh](./package.sh)\n\nThe format of a row of requirements.txt is:\n\n```\nLOCATION VERSION ENTRANCE\n```\n\n`LOCATION` is a part of the repo url with schema stripped.  \n`VERSION` is a tag or a commit hash.\n`ENTRANCE` is a target zig file to `@import`, relative to the root of the repo.\n\n## Requirements\n\n- zig 0.10.0 or later\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberquerant%2Fcsv2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberquerant%2Fcsv2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberquerant%2Fcsv2json/lists"}