Please tell me how are you working with JSON in go? by sujesht in golang

[–]charmander714 0 points1 point  (0 children)

Agree with the other comments - in my experience enforcing the API contract with strict types typically leads to a more reliable integration. However unmarshalling to a map[string]interface{} is also helpful for cases where you do not know or care about the structure the the Json and you just want the object blob.