新手自學單片機不懂就問:)。51單片機+8266接收心知天氣回傳的天氣數據如下。{"results":[{"location":{"id":"WM0B0X54DZW9","name":"Chongqing","country":"CN","path":"Chongqing,Chongqing,China","timezone":"Asia/Shanghai","timezone_offset":"+08:00"},"now":{"text":"Sunny","code":"0","temperature":"25"},"last_update":"2022-10-01T08:50:12+08:00"}]}
我想要提取“code”后面的數字“0”和"temperature"后面的溫度數據,求方法。謝謝各位大神指導。
|