quicktype icon indicating copy to clipboard operation
quicktype copied to clipboard

Generate types and converters from JSON, Schema, and GraphQL

Results 363 quicktype issues
Sort by recently updated
recently updated
newest added

Please see: https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/converters-how-to?pivots=dotnet-7-0#error-handling > # Error handling > The serializer provides special handling for exception types [JsonException](https://learn.microsoft.com/en-us/dotnet/api/system.text.json.jsonexception) and [NotSupportedException](https://learn.microsoft.com/en-us/dotnet/api/system.notsupportedexception). > # When to throw which exception type > When the...

bug
C#

I have this minimal json schema: ```json { "type": "object", "additionalProperties": false } ``` which render as following code: ```cpp // ... struct Nop {}; inline void from_json(const json &...

bug
C++

I have run into an issue where the cJSON implementation of enums produces what to me is an unacceptable result. Take for instance the following enum: ```json "subscription": { "type":...

need info

I am working on a project where I need to generate Swift Codable structures from a JSON Schema, and I'm interested in customizing the generated Swift Enum CodingKey raw values....

Dart: DateTime.parse throws an error if the underlying value is not in the correct format.

[Freezed ](https://pub.dev/packages/freezed) will generate the json key based on the variable name, so if its not match the json key, we know whats gonna happen ![image](https://github.com/quicktype/quicktype/assets/36881303/28eb3754-cffe-49a8-b3fe-b3a7f39fd32a)

Add an option for using the unformatted print vs the default formatted print. For low resource systems the formatted print takes up unnecessary or unavailable memory. User should have the...

I'm currently trying to generate interfaces for several schema files, that reference each other. By doing that, the parser duplicates some interfaces, which leads to dead interfaces in typescript. I...

## Description Adds a python option `pydantic-base-model`, which will generate classes inheriting pydantic's [BaseModel](https://docs.pydantic.dev/latest/concepts/models/). ## Related Issue https://github.com/glideapps/quicktype/issues/1474 ## Motivation and Context [Pydantic](https://docs.pydantic.dev/latest/) is a commonly used python module for...