JSON 转 TypeScript 类型 接口调试常用:粘贴 JSON 示例,自动生成 interface,数组对象会合并字段并标记可选字段。 根类型名称 输出风格interfacetype JSON 输入{"code":0,"message":"ok","data":{"id":1001,"name":"全能工具箱","tags":["tools","office"],"active":true,"profile":{"visits":1280,"createdAt":"2026-06-07"}}} TypeScript 输出 生成类型复制结果下载 .ts