Initialisms and snake_case
- Input
- {"id":7,"user_name":"ana","score":9.5}
- Expected output
- package main type Root struct { ID int `json:"id"` UserName string `json:"user_name"` Score float64 `json:"score"` }
id becomes ID; user_name becomes UserName with the original tag.