I have this JSON:
{
"code":"\u5728\u4e30\u5fb7\u5c14Berro\u8212\u9002\u76841\u623f\u5355\u4f4d"
}
And this struct
type Text struct {
Code string
}
If I use any of the json.Unmarshal
or NewDecoder.Decode
, the Unicode is converted to the actual Chinese. So Text.Code
is
在丰德尔Berro舒适的1房单位
I don't want it to convert, I want the same unicode string.