Online tools

JSON to Go struct

Field names are exported and tags keep the original keys.

How to use it

  1. Paste a JSON sample
  2. Generate the struct
  3. Paste it into a Go file

Other tools