https://github.com/lflxp/json
json transfer nestable html code by golang
https://github.com/lflxp/json
automatic database json nestable
Last synced: 2 months ago
JSON representation
json transfer nestable html code by golang
- Host: GitHub
- URL: https://github.com/lflxp/json
- Owner: lflxp
- License: mit
- Created: 2017-06-15T13:13:38.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-20T07:57:49.000Z (about 9 years ago)
- Last Synced: 2025-06-10T08:05:18.264Z (about 1 year ago)
- Topics: automatic, database, json, nestable
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 需求
* golang将数据转换成json格式
'''
body := `
{
"name":"lxp",
"group":[
{
"id":"sn",
"children":[{"id":"3"},{"id":"3"},{"id":"3"},{"id":"3"},{"id":"3"}]
},{
"id":"jdbc",
"children":[{"id":"3"},{"id":"3"},{"id":"3"}]
}
]
}`
'''
* 将json转换成nestable插件需要的html代码
* 通过net/http 生成