Need Assistance?

support@tutorialshub.in

Structs, Methods & JSON

JSON Encoding & Decoding with Struct Tags

ADVERTISEMENT
Go (Golang) Free Lesson
5 min read
ADVERTISEMENT

Add backtick struct tags like `json:"email"` or `json:"-"` (omit password from JSON!) for encoding/json.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you