All tools

JSON to Go Struct

Generate Go struct definitions with json tags from sample JSON objects and arrays.

Input0 characters
Result0 characters

Input and result notes

Go field types come from the sample, including integer versus fractional numbers. Review later array items, nulls and absent fields, adding pointers or custom types where needed.