Automatically generate Go (golang) struct definitions from example JSON
-
Updated
Jul 30, 2021 - Go
Automatically generate Go (golang) struct definitions from example JSON
根据官方json增加新功能:1.增加结构体默认小写功能;2.增加map、list、slide转结构体的功能;3.修改默认不返回空数据。github.com/weimingjue/json
go 宽容的JSON 包, Marshal 支持 nil => [] , Unmarshal 支持 string => int or float
Add a description, image, and links to the gojson topic page so that developers can more easily learn about it.
To associate your repository with the gojson topic, visit your repo's landing page and select "manage topics."