JSON/数据JSON 转 Go Struct根据 JSON 示例生成 Go struct,包含 json tag、嵌套结构体、数组和空值处理。 结构转换根结构体名空值类型interface{}*string输入 JSON{"id":1,"name":"Aveyuan","price":19.8,"profile":{"email":"demo@example.com","active":true},"items":[{"title":"JSON","count":2}]}输出 Go生成 Go Struct复制结果 JSON转Go Struct根据 JSON 示例生成 Go struct 和 json tag适合场景适合接口联调、模型定义、后端 DTO、前端类型声明和数据库表结构快速建模。