Golang - Keep struct intact in case of JSON unmarshal error

前端 未结 0 763
野趣味
野趣味 2020-11-28 06:37

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题