quicktype
quicktype copied to clipboard
Generate types and converters from JSON, Schema, and GraphQL
JSON is a pretty rigid format, even changes from double quotes to single quotes would fail its validation. It happened many times to me that what I really need to...
Hey guys ``` interface Statement { [key: string]: any; } interface Declaration { [key: string]: any; } export interface VariableDeclaration extends Statement, Declaration { attributes: { kind: "let" | "const"...
It would be great if there was an option for generating public fields, rather than private fields with getters/setters. Jackson can still handle the serialization of such classes with no...
The Rust backend generates too many boxes. It generates things like `Box` where it should only be `Option
Currently the C++ output of quicktype is asymmetrical: boolean, integer, string and array[^1] types are comparable for equality, but the classes generated for JSON objects aren't. Equality comparison is important...
The quicktype CLI fails with the above error, when executing the following `quicktype --lang rs --derive-debug --density dense --visibility private --out debugProtocolTypes.rs --src-lang typescript --src-urls https://raw.githubusercontent.com/microsoft/vscode/master/src/vs/workbench/contrib/debug/common/debugProtocol.d.ts` The same input file...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 7.7.0 to 7.7.1. Release notes Sourced from @typescript-eslint/parser's releases. v7.7.1 7.7.1 (2024-04-22) 🩹 Fixes eslint-plugin: [no-unsafe-assignment] handle shorthand property assignment (#8800) eslint-plugin: [explicit-function-return-type] fix checking wrong ancestor's...
Bumps [@tsconfig/node18](https://github.com/tsconfig/bases/tree/HEAD/bases) from 1.0.1 to 18.2.4. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [@vscode/test-cli](https://github.com/Microsoft/vscode-test-cli) from 0.0.6 to 0.0.9. Changelog Sourced from @vscode/test-cli's changelog. 0.0.9 - 2024-03-04 Handle relative paths in `--config Add engines.node version to the package.json Enable installing extensionDependencies automatically, and...
``` quicktype -s schema http://purl.allotrope.org/json-schemas/adm/lc-ms/REC/2023/09/lc-ms.tabular.schema Error: Key m~1z not in schema object at http://purl.allotrope.org/json-schemas/qudt/REC/2023/09/units.schema#m~1z. ``` excerpt ```json "m/z": { "$asm.property-class": "http://purl.allotrope.org/ontologies/result#AFR_0001868", "$asm.pattern": "quantity datum", "allOf": [ { "$ref": "http://purl.allotrope.org/json-schemas/adm/core/REC/2023/09/core.schema#/$defs/tQuantityValue" },...