{"id":15468315,"url":"https://github.com/winebarrel/xjsonl","last_synced_at":"2026-04-27T23:38:13.057Z","repository":{"id":66256716,"uuid":"273492303","full_name":"winebarrel/xjsonl","owner":"winebarrel","description":"xjsonl is a tool to convert xSV to JSON Lines.","archived":false,"fork":false,"pushed_at":"2020-06-29T16:43:38.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T00:14:47.586Z","etag":null,"topics":["csv","golang","json","tsv"],"latest_commit_sha":null,"homepage":"","language":"Go","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/winebarrel.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}},"created_at":"2020-06-19T12:47:31.000Z","updated_at":"2020-06-29T16:43:41.000Z","dependencies_parsed_at":"2023-02-20T18:45:41.141Z","dependency_job_id":null,"html_url":"https://github.com/winebarrel/xjsonl","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Fxjsonl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Fxjsonl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Fxjsonl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winebarrel%2Fxjsonl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/winebarrel","download_url":"https://codeload.github.com/winebarrel/xjsonl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246027139,"owners_count":20711776,"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","golang","json","tsv"],"created_at":"2024-10-02T01:40:40.727Z","updated_at":"2026-04-27T23:38:13.015Z","avatar_url":"https://github.com/winebarrel.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xjsonl\n\nxjsonl is a tool to convert xSV to JSON Lines.\n\n[![Build Status](https://travis-ci.org/winebarrel/xjsonl.svg?branch=master)](https://travis-ci.org/winebarrel/xjsonl)\n\n## Usage\n\n```\nUsage of xjsonl:\n  -header\n    \tconsider the first line as a header\n  -keys string\n    \tjson object keys\n  -sep string\n    \tline separator. not split if empty (default \",\")\n  -version\n    \tprint version and exit\n```\n\n```\n$ printf 'foo,bar\\nbar,zoo' | xjsonl\n[\"foo\",\"bar\"]\n[\"bar\",\"zoo\"]\n\n$ printf 'foo\\tbar\\nbar\\tzoo' | xjsonl -sep '\\t'\n[\"foo\",\"bar\"]\n[\"bar\",\"zoo\"]\n\n$ printf 'foo,bar\\nbar,zoo' | xjsonl -sep ''\n[\"foo,bar\"]\n[\"bar,zoo\"]\n\n$ printf 'foo,bar\\nbar,zoo' \u003e data.csv\n$ xjsonl data.csv\n[\"foo\",\"bar\"]\n[\"bar\",\"zoo\"]\n\n$ printf 'foo,bar\\nbar,zoo' | xjsonl -keys a,b\n{\"a\":\"foo\",\"b\":\"bar\"}\n{\"a\":\"bar\",\"b\":\"zoo\"}\n\n$ printf \"foo,bar\\nzoo,baz\\n1,2\" | xjsonl -header\n{\"foo\":\"zoo\",\"bar\":\"baz\"}\n{\"foo\":\"1\",\"bar\":\"2\"}\n```\n\n## Related Links\n\n* https://github.com/winebarrel/xjr\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinebarrel%2Fxjsonl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinebarrel%2Fxjsonl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinebarrel%2Fxjsonl/lists"}