according to test case, we reached the following conclusions:
no mater what format of source json field value, (It may be a variety of situations as follows)
1. Initials: 'Devicetype'2. ALL CAPS: 'DEVICETYPE'3. All lowercase: 'devicetype'4. Capitalize the first letter ofeach word: 'DeviceType'
Unmarshal json toobject, the define ofobject's json part can only be defined as:
`json:"devicetype"`
#中文简要总结1. 首字母大写
2. 全部大写
3. 全部小写
4. 每单词首字母大写
5. ...
映射到自定义的结构体上时,json部分的写法只需要写成
`json:"全部小写"` 即可
eg:
`json:devicetype`