{"id":21007914,"url":"https://github.com/lflxp/json","last_synced_at":"2026-05-07T13:37:46.219Z","repository":{"id":57615008,"uuid":"94440872","full_name":"lflxp/json","owner":"lflxp","description":"json transfer nestable html code by golang","archived":false,"fork":false,"pushed_at":"2017-06-20T07:57:49.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-10T08:05:18.264Z","etag":null,"topics":["automatic","database","json","nestable"],"latest_commit_sha":null,"homepage":"","language":"Go","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/lflxp.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":"2017-06-15T13:13:38.000Z","updated_at":"2022-09-12T23:56:19.000Z","dependencies_parsed_at":"2022-09-11T03:00:54.860Z","dependency_job_id":null,"html_url":"https://github.com/lflxp/json","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lflxp/json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lflxp%2Fjson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lflxp%2Fjson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lflxp%2Fjson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lflxp%2Fjson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lflxp","download_url":"https://codeload.github.com/lflxp/json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lflxp%2Fjson/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266463051,"owners_count":23932895,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["automatic","database","json","nestable"],"created_at":"2024-11-19T09:10:42.481Z","updated_at":"2026-05-07T13:37:41.185Z","avatar_url":"https://github.com/lflxp.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 需求\n\n* golang将数据转换成json格式\n\n'''\nbody := `\n\t{\n\t\t\"name\":\"lxp\",\n\t\t\"group\":[\n\t\t\t{\n\t\t\t\t\"id\":\"sn\",\n\t\t\t\t\"children\":[{\"id\":\"3\"},{\"id\":\"3\"},{\"id\":\"3\"},{\"id\":\"3\"},{\"id\":\"3\"}]\n\t\t\t},{\n\t\t\t\t\"id\":\"jdbc\",\n\t\t\t\t\"children\":[{\"id\":\"3\"},{\"id\":\"3\"},{\"id\":\"3\"}]\n\t\t\t}\n\t\t\t]\n\t}`\n'''\n\n* 将json转换成nestable插件需要的html代码\n\n* 通过net/http 生成","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flflxp%2Fjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flflxp%2Fjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flflxp%2Fjson/lists"}