| name | quicktype-json-schema-to-typed-code-generator |
| description | Generate strongly-typed models and serializers from JSON, JSON Schema, TypeScript, and GraphQL queries in 20+ programming languages. quicktype turns sample data into production-ready type definitions for Swift, C#, Go, Python, Rust, Java, Kotlin, and more. Use when this capability is needed. |
| metadata | {"author":"agentskillexchange"} |
quicktype JSON Schema to Typed Code Generator
Generate strongly-typed models and serializers from JSON, JSON Schema, TypeScript, and GraphQL queries in 20+ programming languages. quicktype turns sample data into production-ready type definitions for Swift, C#, Go, Python, Rust, Java, Kotlin, and more.
Installation
Use the upstream install or setup path that matches your environment:
- npm install -g quicktype
- $ npm install quicktype-core
- npm install
- npm install --ignore-scripts # Install dependencies
Requirements and caveats from upstream:
- | Dart | Python | C# | Go | C++ |
- You can use quicktype as a JavaScript function within node or browsers. First add the quicktype-core package:
- const { lines: pythonPerson } = await quicktypeJSONSchema("python", "Person", jsonSchemaString);
Basic usage or getting-started notes:
Source
Source: agentskillexchange/skills — distributed by TomeVault.