{"id":20482936,"url":"https://github.com/lzhpo/jsontogolang","last_synced_at":"2026-04-15T16:04:12.087Z","repository":{"id":51994084,"uuid":"289569079","full_name":"lzhpo/JsonToGolang","owner":"lzhpo","description":"JSON转Golang的工具","archived":false,"fork":false,"pushed_at":"2020-08-24T03:40:43.000Z","size":954,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T04:17:06.994Z","etag":null,"topics":["golang","json"],"latest_commit_sha":null,"homepage":"http://tools.lzhpo.com","language":"JavaScript","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/lzhpo.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}},"created_at":"2020-08-22T21:22:45.000Z","updated_at":"2022-08-03T02:50:30.000Z","dependencies_parsed_at":"2022-08-28T03:11:38.652Z","dependency_job_id":null,"html_url":"https://github.com/lzhpo/JsonToGolang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzhpo%2FJsonToGolang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzhpo%2FJsonToGolang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzhpo%2FJsonToGolang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lzhpo%2FJsonToGolang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lzhpo","download_url":"https://codeload.github.com/lzhpo/JsonToGolang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242058089,"owners_count":20065062,"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":["golang","json"],"created_at":"2024-11-15T16:15:17.249Z","updated_at":"2026-04-15T16:04:07.064Z","avatar_url":"https://github.com/lzhpo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON转Golang工具\n\n\u003cp\u003e\n  \u003ca href=\"http://www.lzhpo.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/author-会打篮球的程序猿-red\" alt=\"作者\"\u003e\u003c/a\u003e\n  \u003ca href=\"http://cdn.lzhpo.com/aboutme/wechat-wxgzh/8cm.jpg\"\u003e\u003cimg src=\"https://img.shields.io/badge/微信公众号-会打篮球的程序猿-blueviolet\" alt=\"公众号\"\u003e\u003c/a\u003e\n  \u003ca href=\"#\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-GPL%20v3-success.svg\" alt=\"开源协议\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## 在线地址\n[http://tools.lzhpo.com](http://tools.lzhpo.com)\n\n## How to use?\n生成的Golang代码结构展开：\n![](docs/images/Json生成Golang代码-展开.png)\n\n生成的Golang代码结构不展开：\n![](docs/images/Json生成Golang代码-不展开.png)\n\n格式化JSON前：\n![](docs/images/Json生成Golang代码-格式化JSON前.png)\n\n格式化JSON后(自动复制结果):\n![](docs/images/Json生成Golang代码-格式化JSON后(自动复制结果).png)\n\n来一串JSON测试：\n![](docs/images/Json生成Golang代码-来一串JSON测试.png)\n\n## 请作者喝咖啡\n\n| 支付宝                                                       | 微信                                                 |\n| ------------------------------------------------------------ | ---------------------------------------------------- |\n| \u003cimg width=\"200\" height=\"200\" src=\"http://file.lzhpo.com/%E6%94%AF%E4%BB%98%E5%AE%9D%E6%94%B6%E6%AC%BE%E7%A0%81.png\"/\u003e | \u003cimg width=\"200\" height=\"200\" src=\"http://file.lzhpo.com/%E5%BE%AE%E4%BF%A1%E6%94%B6%E6%AC%BE%E7%A0%81.png\"/\u003e |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flzhpo%2Fjsontogolang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flzhpo%2Fjsontogolang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flzhpo%2Fjsontogolang/lists"}