Gee
在线工具
数据转换
工具箱
JSON → 代码结构体生成器
输入 JSON,一键生成 TypeScript / Java / Go / Python / Kotlin 类型定义
JSON 输入
格式化
清空
{ "id": 1, "name": "Alice", "email": "alice@example.com", "age": 28, "isActive": true, "tags": ["admin", "user"], "address": { "city": "Beijing", "zip": "100000" } }
生成语言
TypeScript
复制代码
interface Root { id: number; name: string; email: string; age: number; isActive: boolean; tags: string[]; address: Address; } interface Address { city: string; zip: string; }
高级选项
根类名: