Questions
Go questions
Choose a question page, learn the concept, then test your understanding with a quiz.
Why Go Struct to JSON Returns Empty Object {}: Exported Fields and json.Marshal
Learn why Go json.Marshal returns {} for structs with unexported fields, and how to fix it using exported field names and JSON tags.
gojson
json.Unmarshal vs json.NewDecoder.Decode in Go
Learn when to use json.Unmarshal or json.NewDecoder.Decode in Go for HTTP responses, memory usage, streaming, and safer JSON handling.
gojson
Page 4 of 4 - 62 questions
PreviousNext