quicktype
quicktype copied to clipboard
Generate types and converters from JSON, Schema, and GraphQL
When the input sample data is an array, e.g a **single** sample input of: ```json [{"key":"one"},{"key":"two"}] ``` The generated code for most languages like Go/Rust/Haskell/C# etc will logically be a...
It would be great to have a JSON-to-TypeScript Joi conversion feature in Quicktype, similar to the existing JSON-to-TypeScript Zod conversion. I’d love to contribute to this functionality. I’ve already made...
```bash quicktype https://storage.flutter-io.cn/flutter_infra_release/releases/releases_linux.json -o flutter.ts (node:92203) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead. (Use `node --trace-deprecation ...` to show where the warning was created)...
Is it possible to support json to class in Huawei [Cangjie](https://cangjie-lang.cn/en) programming language?
## Issue Type Output ## Context (Environment, Version, Language) Input Format: JSON Schema Output Language: Scala3+uPickle CLI, npm, or app.quicktype.io: CLI Version: 23.0.170 ## Description In the generated Scala3 output...
**Overview** Fixes #2674. I can't entirely confirm that it doesn't have some unintended side effects, but this does fix the return type of optional values. **Test file:** `{ "$schema": "http://json-schema.org/draft-06/schema#",...
Currently, the get_xyz() methods return a copy of optional values. Something like: `boost::optional get_coordinates() const { return coordinates; }` Which makes this code not behave as expected: `for (auto coordinate:...
## Context (Input, Language) Input Format: Output Language: ## Description ## Current Behaviour / Output ## Proposed Behaviour / Output ## Solution ## Alternatives ## Context
## Issue Type The quicktype output when generating go code is incorrect and uncompilable due to it not correctly adding all the imports to the top of the file when...
Support for kind=uuid strings in typescript-zod output ## Context (Input, Language) Input Format: json-schema Output Language: typescript-zod ## Current Behaviour / Output z.string() ## Proposed Behaviour / Output z.string().uuid()