save info:{"closeHr":10,"closeMin":31,"cmd":[{"opt":"Pow","p":0},{"$ref":"$.cmd[0]"},{"$ref":"$.cmd[0]"},{"$ref":"$.cmd[0]"},{"$ref":"$.cmd[0]"},{"$ref":"$.cmd[0]"},{"$ref":"$.cmd[0]"}],"id":0,"name":"好几年就会吃饭","objTem":30,"openHr":16,"openMin":12,"t":"setT","tz":0,"week":[1,1,0,0,0,0,0]}
其中:
{"$ref":"$.cmd[0]"},{"$ref":"$.cmd[0]"},{"$ref":"$.cmd[0]"},{"$ref":"$.cmd[0]"},{"$ref":"$.cmd[0]"},{"$ref":"$.cmd[0]"
这是什么东东,不懂,因为这串数据是我们与服务器通讯的内容,服务器解析这串数据会出错,经常因为不认识就返回错误的代码,帮忙解答一下,感谢。
1条答案
按热度按时间f0ofjuux1#
https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98
第10点