golang gin web: some fields in the response body are repeated or some abnormal strings are added
my golang web server using gin, one http client request come in, response body from server is abnormal: some field repeated or some abnormal strings are added.this content is hard code in program. After restart server, it is normal. I suspect it’s a deserialization bug from json.Unmarshal, but have no evidence. Can anyone give some idea? thank you!