Translates JSON into a Go type definition. Check it out!
Things to note:
- The script sometimes has to make some assumptions, so give the output a once-over.
- The output is indented, but not formatted. Use
go fmt
!
Contributions are welcome! Open a pull request to fix a bug, or open an issue to discuss a new feature or change.
JSON-to-Go is brought to you by Matt Holt.
The Go Gopher is originally by Renee French. This artwork is an adaptation.