In case there is an error in unmarshalling JSON, Go\'s json.Unmarshal returns a partially modified struct. Is there a way to ensure that the object remains int
json.Unmarshal