JSON to Go
Translates JSON into a Go type in your browser instantly (original)
...It is designed to save Go developers time when working with APIs, configuration files, or external JSON payloads. Users paste JSON into the tool, and it generates a matching Go type that can be copied into a project. The tool makes reasonable assumptions about field names, types, nested objects, arrays, and struct tags, but it still expects users to review the output before using it in production. It is related to curl-to-go and fits the same lightweight, practical workflow for developers translating common web data into Go code. ...