Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyGostructs and tagsSingle-choice MCQ

Given this struct tag, what JSON key is produced for the field?

type User struct { Name string `json:"full_name"` } b, _ := json.Marshal(User{Name: "Ada"}) fmt.Println(string(b))