Popularity
8.9
Declining
Activity
2.4
-
4,363
55
465

Programming language: JavaScript
License: MIT License
Tags: Go Tools    

JSON-to-Go alternatives and similar packages

Based on the "Go Tools" category.
Alternatively, view JSON-to-Go alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of JSON-to-Go or a related project?

Add another 'Go Tools' Package

README

Translates JSON into a Go type definition. Check it out!

This is a sister tool to curl-to-Go, which converts curl commands to Go code.

Things to note:

  • The script sometimes has to make some assumptions, so give the output a once-over.
  • In an array of objects, it is assumed that the first object is representative of the rest of them.
  • 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.

Credits

JSON-to-Go is brought to you by Matt Holt (mholt6).

The Go Gopher is originally by Renee French. This artwork is an adaptation.