{"id":26453360,"url":"https://github.com/arthur87/asa_json","last_synced_at":"2026-02-12T09:32:17.348Z","repository":{"id":282544727,"uuid":"947277318","full_name":"arthur87/asa_json","owner":"arthur87","description":"asa_json is a library for conveniently JSON","archived":false,"fork":false,"pushed_at":"2025-03-18T13:29:35.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-29T22:29:53.495Z","etag":null,"topics":["csv","gem","json","jsonl","ruby"],"latest_commit_sha":null,"homepage":"https://www.daispot.com","language":"Ruby","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/arthur87.png","metadata":{"files":{"readme":"README.base.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2025-03-12T12:41:07.000Z","updated_at":"2025-05-18T01:05:37.000Z","dependencies_parsed_at":"2025-07-05T22:37:54.145Z","dependency_job_id":"04c64182-c081-4438-a73c-c0794268edf6","html_url":"https://github.com/arthur87/asa_json","commit_stats":null,"previous_names":["arthur87/asa_json"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/arthur87/asa_json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arthur87%2Fasa_json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arthur87%2Fasa_json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arthur87%2Fasa_json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arthur87%2Fasa_json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arthur87","download_url":"https://codeload.github.com/arthur87/asa_json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arthur87%2Fasa_json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29362803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["csv","gem","json","jsonl","ruby"],"created_at":"2025-03-18T18:57:55.468Z","updated_at":"2026-02-12T09:32:17.327Z","avatar_url":"https://github.com/arthur87.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!----------------------------\u003e\n\u003c!-- multilingual suffix: en, ja --\u003e\n\u003c!-- no suffix: en --\u003e\n\u003c!----------------------------\u003e\n\n\u003c!-- $ mmg README.base.md --\u003e\n\n# asa_json\n\n[![Gem Version](https://badge.fury.io/rb/asa_json.svg)](https://badge.fury.io/rb/asa_json)\n\nasa_json is a library for conveniently JSON.  \nIt supports reading and writing json and jsonl files.\n\n# Usage\n\nSee spec files.\n\n## Read JSONL\n\n```\npp AsaJson.read_jsonl(\"#{__dir__}/test.jsonl\")\n```\n\nThe output result is here.\n\n```\n[{\"id\"=\u003e1, \"name\"=\u003e\"cerulean\", \"year\"=\u003e2000, \"color\"=\u003e\"#98B2D1\", \"pantone_value\"=\u003e\"15-4020\"},\n {\"id\"=\u003e2, \"name\"=\u003e\"fuchsia rose\", \"year\"=\u003e2001, \"color\"=\u003e\"#C74375\", \"pantone_value\"=\u003e\"17-2031\"},\n {\"id\"=\u003e3, \"name\"=\u003e\"true red\", \"year\"=\u003e2002, \"color\"=\u003e\"#BF1932\", \"pantone_value\"=\u003e\"19-1664\"}]\n```\n\n## Write JSONL\n\n```\ntest = [\n      { 'id' =\u003e 1, 'name' =\u003e 'cerulean', 'year' =\u003e 2000, 'color' =\u003e '#98B2D1', 'pantone_value' =\u003e '15-4020' },\n      { 'id' =\u003e 2, 'name' =\u003e 'fuchsia rose', 'year' =\u003e 2001, 'color' =\u003e '#C74375',\n        'pantone_value' =\u003e '17-2031' },\n      { 'id' =\u003e 3, 'name' =\u003e 'true red', 'year' =\u003e 2002, 'color' =\u003e '#BF1932', 'pantone_value' =\u003e '19-1664' }\n    ]\n\nAsaJson.write_jsonl(\"#{__dir__}/output.jsonl\", test)\n```\n\njson uses read_json and write_json.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farthur87%2Fasa_json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farthur87%2Fasa_json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farthur87%2Fasa_json/lists"}