我是Scala的新手。需要有关此代码的帮助
(MqttClient:aabbccddee,{"myName": "Arduino DHT22","temperatureF": 80,"temperatureC": 26,"humidity": 23})
当我的x
时,它会起作用(MqttClient:aabbccddee,{ "d": { "myName": "Arduino DHT22", "temperatureF": 80, "temperatureC": 26, "humidity": 24 }})
但是当x
时失败{{1}}
注意" d"。错误是Json解析异常。