JSON
{"ok":true}GQL Schema
type Res { ok: Boolean }Developer Tools
Turn REST-style JSON samples into GraphQL type definitions with Int, Float, String, and Boolean scalars. Helpful when sketching a first schema during API migration.
Favorite this tool
No favorite storage mode has been selected.
Quick actions
Copy this tool URL or open the system share sheet on a supported device.
开发工具
等待输入
已复制
JSON
{"ok":true}GQL Schema
type Res { ok: Boolean }Enable the non-null (!) modifier to emit required fields across the schema.
Tools
Continue with another translated tool for a nearby task.
JSON to TypeScript Interface
Infer TypeScript interface definitions from JSON in your browser. Nested objects become separate interfaces, with options for the root name, optional fields, readonly, export, and type aliases.
JSON Formatter
Format, minify, sort, and validate JSON in your browser. Parsing errors include location details, and your data never leaves the page.