json-to-go

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

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownermholt/json-to-go
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 2)
Platform
License:MIT License
所有者活动
Created At2014-01-21 18:11:13
Pushed At2024-07-31 15:59:24
Last Commit At2024-07-25 18:20:04
Release Count0
用户参与
Stargazers Count4.6k
Watchers Count55
Fork Count484
Commits Count80
Has Issues Enabled
Issues Count81
Issue Open Count15
Pull Requests Count47
Pull Requests Open Count4
Pull Requests Close Count14
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private