channelcat / json-to-python

Translates JSON into a Go type in your browser instantly (original)

Home Page:https://mholt.github.io/json-to-go/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Translates JSON into a Python data class. Check it out!

This is based off of json-to-go, which converts json 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 black!

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-Python is brought to you by Channel Cat. JSON-to-Go is brought to you by Matt Holt (mholt6).

About

Translates JSON into a Go type in your browser instantly (original)

https://mholt.github.io/json-to-go/

License:MIT License


Languages

Language:TypeScript 93.0%Language:JavaScript 7.0%