美文网首页APP 的编程学习
数组和字典的关系 -好基友

数组和字典的关系 -好基友

作者: whong736 | 来源:发表于2017-01-10 08:54 被阅读9次

    JSON数据格式:

    数组和字典的关系 -好基友,套来套去

    字典套

         数组套

                字典

    {

    "success": "1",

    "result": [

    {

    "weaid": "1",

    "days": "2017-01-10",

    "week": "星期二",

    "cityno": "beijing",

    "citynm": "北京",

    "cityid": "101010100",

    "temperature": "4℃/-6℃",

    "humidity": "0℉/0℉",

    "weather": "晴",

    "weather_icon": "http://api.k780.com:88/upload/weather/d/0.gif",

    "weather_icon1": "http://api.k780.com:88/upload/weather/n/0.gif",

    "wind": "无持续风向",

    "winp": "微风",

    "temp_high": "4",

    "temp_low": "-6",

    "humi_high": "0",

    "humi_low": "0",

    "weatid": "1",

    "weatid1": "1",

    "windid": "124",

    "winpid": "125"

    },

    {

    "weaid": "1",

    "days": "2017-01-11",

    "week": "星期三",

    "cityno": "beijing",

    "citynm": "北京",

    "cityid": "101010100",

    "temperature": "5℃/-5℃",

    "humidity": "0℉/0℉",

    "weather": "晴",

    "weather_icon": "http://api.k780.com:88/upload/weather/d/0.gif",

    "weather_icon1": "http://api.k780.com:88/upload/weather/n/0.gif",

    "wind": "南风转北风",

    "winp": "微风",

    "temp_high": "5",

    "temp_low": "-5",

    "humi_high": "0",

    "humi_low": "0",

    "weatid": "1",

    "weatid1": "1",

    "windid": "29",

    "winpid": "125"

    },

    {

    "weaid": "1",

    "days": "2017-01-12",

    "week": "星期四",

    "cityno": "beijing",

    "citynm": "北京",

    "cityid": "101010100",

    "temperature": "4℃/-5℃",

    "humidity": "0℉/0℉",

    "weather": "晴转多云",

    "weather_icon": "http://api.k780.com:88/upload/weather/d/0.gif",

    "weather_icon1": "http://api.k780.com:88/upload/weather/n/1.gif",

    "wind": "南风转北风",

    "winp": "微风",

    "temp_high": "4",

    "temp_low": "-5",

    "humi_high": "0",

    "humi_low": "0",

    "weatid": "1",

    "weatid1": "2",

    "windid": "29",

    "winpid": "125"

    },

    {

    "weaid": "1",

    "days": "2017-01-13",

    "week": "星期五",

    "cityno": "beijing",

    "citynm": "北京",

    "cityid": "101010100",

    "temperature": "3℃/-6℃",

    "humidity": "0℉/0℉",

    "weather": "晴",

    "weather_icon": "http://api.k780.com:88/upload/weather/d/0.gif",

    "weather_icon1": "http://api.k780.com:88/upload/weather/n/0.gif",

    "wind": "北风转西北风",

    "winp": "3-4级转微风",

    "temp_high": "3",

    "temp_low": "-6",

    "humi_high": "0",

    "humi_low": "0",

    "weatid": "1",

    "weatid1": "1",

    "windid": "64",

    "winpid": "129"

    },

    {

    "weaid": "1",

    "days": "2017-01-14",

    "week": "星期六",

    "cityno": "beijing",

    "citynm": "北京",

    "cityid": "101010100",

    "temperature": "2℃/-7℃",

    "humidity": "0℉/0℉",

    "weather": "晴",

    "weather_icon": "http://api.k780.com:88/upload/weather/d/0.gif",

    "weather_icon1": "http://api.k780.com:88/upload/weather/n/0.gif",

    "wind": "北风",

    "winp": "微风",

    "temp_high": "2",

    "temp_low": "-7",

    "humi_high": "0",

    "humi_low": "0",

    "weatid": "1",

    "weatid1": "1",

    "windid": "20",

    "winpid": "125"

    },

    {

    "weaid": "1",

    "days": "2017-01-15",

    "week": "星期日",

    "cityno": "beijing",

    "citynm": "北京",

    "cityid": "101010100",

    "temperature": "2℃/-7℃",

    "humidity": "0℉/0℉",

    "weather": "晴转多云",

    "weather_icon": "http://api.k780.com:88/upload/weather/d/0.gif",

    "weather_icon1": "http://api.k780.com:88/upload/weather/n/1.gif",

    "wind": "西南风转北风",

    "winp": "微风",

    "temp_high": "2",

    "temp_low": "-7",

    "humi_high": "0",

    "humi_low": "0",

    "weatid": "1",

    "weatid1": "2",

    "windid": "92",

    "winpid": "125"

    }

    ]

    }

    相关文章

      网友评论

        本文标题:数组和字典的关系 -好基友

        本文链接:https://www.haomeiwen.com/subject/bokkbttx.html