免费 · 开发
JSON 转 TypeScript.
根据 JSON 示例推断 TypeScript 类型,包括嵌套对象和数组。
LOCAL PROCESSING · NO ACCOUNT
使用JSON 转 TypeScript的步骤
输入数据或选择文件,调整设置并生成结果。复制或下载之前,请检查结果。
限制与支持格式
输入内容在您的设备上处理。
英语技术说明
200,000 characters; inference is from examples, not a complete schema.
Infer a TypeScript type from a JSON example, including nested objects and arrays. 200,000 characters; inference is from examples, not a complete schema. Inputs stay on your device. Review the preview or output before using it; refresh the page to clear the current working session.
{"name":"Alex"} becomes a type with name: string.