4 ms·
The idea is that if you're inventing a new data format, you can write the Go types first, and the JSON schema is based on that. This works ok if you're starting
by skybrian 10y ago
The idea is that if you're inventing a new data format, you can write the Go types first, and the JSON schema is based on that. This works ok if you're starting in Go.
Mapping arbitrary JSON to Go types may or may not be simple, depending on the data format.