Contributions

Tool
quicktype is an open source tool that infers types from JSON sample data, then outputs C++ structs and converters (Go, Java, C#, etc. also supported).

quicktype gracefully handles many cases that similar tools fail on, such as heterogenous arrays and crazy property names. It also tries to detect when JSON objects are better represented as maps, rather than fixed structs.

We also have a CLI, which supports fetching JSON from HTTP, as well as generating code from JSON Schema.