首页
?/span> JSON ?TypeScript
🌓 主题
🔷 JSON ?TypeScript
?JSON 数据自动转换?TypeScript 接口定义
用户数据
API 响应
配置文件
嵌套对象
接口名称:
添加 export
所有属性可?/label>
只读属?/label>
使用 type 替代 interface
📥 JSON 输入
格式?/button>
清空
{ "id": 1, "name": "John Doe", "email": "john@example.com", "age": 30, "isActive": true, "tags": ["developer", "designer"], "address": { "street": "123 Main St", "city": "New York", "zipCode": "10001" }, "createdAt": "2024-01-15T10:30:00Z" }
📤 TypeScript 输出
复制
下载
已复制到剪贴?/div>