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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?