In the past few days, I have been learning the use of the AutoNavi Map API. This blog post is a description, and the weather conditions are queried based on the current city location. Special record below.
-----Business method:
-------testing method:
* ** The above are all codes for querying the weather conditions based on the current location of the AutoNavi Map API.
The above reference is from: https://blog.csdn.net/wxn877838604/article/details/67638818
-------In this process, the query json array format needs to be parsed at last. As follows:
Parsing json data:
1.
2.
3.
4.
5. Finally, the data has been taken out, as shown in the following figure:
****For the above method of parsing json data, refer to:
https://www.cnblogs.com/1315925303zxz/p/6963795.html
https://q.cnblogs.com/q/48684/
https://blog. csdn.net/chenyongtu110/article/details/51712970