json-to-go

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

Github星跟踪图

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.

主要指标

概览
名称与所有者mholt/json-to-go
主编程语言JavaScript
编程语言JavaScript (语言数: 2)
平台
许可证MIT License
所有者活动
创建于2014-01-21 18:11:13
推送于2024-07-31 15:59:24
最后一次提交2024-07-25 18:20:04
发布数0
用户参与
星数4.6k
关注者数55
派生数484
提交数80
已启用问题?
问题数81
打开的问题数15
拉请求数47
打开的拉请求数4
关闭的拉请求数14
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?