Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 362 Bytes

convert-json-to-csharp.md

File metadata and controls

10 lines (7 loc) · 362 Bytes

convert json to csharp

quicktype --all-properties-optional --no-enums -l schema sample-data.json -o sample-schema.json
quicktype -s schema sample-schema.json --namespace Sample -o sample-parser.cs

to be more strict remove flags --all-properties-optional and --no-enums in schema generation