{"id":15178963,"url":"https://github.com/jrobles/mysql2json-go","last_synced_at":"2026-02-17T02:05:36.911Z","repository":{"id":57639702,"uuid":"57424181","full_name":"jrobles/mysql2json-go","owner":"jrobles","description":"Inspired by Arturom -  Connects to a MySQL database and prints JSON formatted records","archived":false,"fork":false,"pushed_at":"2016-05-18T02:14:15.000Z","size":10,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-05T12:44:24.949Z","etag":null,"topics":["golang","json","mysql-database"],"latest_commit_sha":null,"homepage":"http://robi.ninja","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jrobles.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}},"created_at":"2016-04-30T02:45:37.000Z","updated_at":"2017-10-14T21:14:17.000Z","dependencies_parsed_at":"2022-08-27T19:52:10.884Z","dependency_job_id":null,"html_url":"https://github.com/jrobles/mysql2json-go","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jrobles/mysql2json-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobles%2Fmysql2json-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobles%2Fmysql2json-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobles%2Fmysql2json-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobles%2Fmysql2json-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jrobles","download_url":"https://codeload.github.com/jrobles/mysql2json-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrobles%2Fmysql2json-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011188,"owners_count":26084900,"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-12T02:00:06.719Z","response_time":53,"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":["golang","json","mysql-database"],"created_at":"2024-09-27T15:42:44.989Z","updated_at":"2025-10-12T11:53:20.526Z","avatar_url":"https://github.com/jrobles.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mysql2json-go\nInspired by [Arturom's](https://github.com/arturom) awesome [mysql2json](https://github.com/arturom/mysql2json) python script. Connects to a MySQL database and prints JSON formatted records to STDOUT...but using Golang!\n\n\n### Use this:\n```bash\n./app -host=server -port=3306 -user=hello -password=hola -database=bonjour -query=\"SELECT * FROM products LIMIT 1\"\n```\n\n### Turn this\n```sql\nSELECT * FROM products;\n```\n\n```\n+----+----------------+-------------------+\n| id | name           | quantity          |\n+----+----------------+-------------------+\n|  1 | TLR 22 3.0     |                 1 |\n+----+----------------+-------------------+\n```\n\n### Into this\n```json\n[{\"id\":\"1\",\"name\":\"TLR 22 3.0\",\"quantity\":\"1\"}]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrobles%2Fmysql2json-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrobles%2Fmysql2json-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrobles%2Fmysql2json-go/lists"}