WeTools

JSON → Go Struct

从任意 JSON 推导出 Go 结构体定义,支持 json tag。

本地处理

类型推断:整数 → int64,小数 → float64,对象数组取首元素结构,空数组退化为 []interface{}。

相关工具