JSON to Go
Convert JSON objects to Go structs with json tags
Input JSON
Go Struct Output
Features
Type Mapping
- string to string
- number to int/float64
- boolean to bool
- array to slice
JSON Tags
- Automatic json tags
- Optional omitempty
- Preserves original keys
- Handles special chars
Naming
- PascalCase fields
- Exported by default
- Custom struct names
- Package declaration