Paste JSON and get Go structs with json tags, inferred field types, and nested structs. Copy or download the .go. Runs in your browser.
Yes — every field gets a json:"key" tag matching the original key.
Each nested object becomes its own named struct.