(please ignore my stupid UI QwQ)
What will case ERROR 1105? QAQ
please.
Please show your relevant blocks, with example json data.
I used Chinese version of the inventor.May I translate it?
Yes please
It needs a long time,
Just the relevant blocks.
You are getting json data from somewhere - show the format of the json.
Show what items you want to extract from the json
Show the blocks you are using to do this
"showapi_res_error":"",
"showapi_res_id":"626fa35b0de3769f06a7fe49",
"showapi_res_code":0,
"showapi_fee_num":1,
"showapi_res_body":{
"ret_code":0,
"cityInfo":{
"c6":"yunnan",
"c5":"丽江",
"c4":"lijiang",
"c3":"丽江",
"c9":"中国",
"c8":"china",
"c7":"云南",
"c17":"+8",
"c16":"AZ9888",
"c1":"101291401",
"c2":"lijiang",
"c0":"530700",
"c11":"0888",
"longitude":100.222,
"c10":"2",
"latitude":26.903,
"c12":"674100",
"c15":"2394"
},
"f1":{
"night_weather_code":"08",
"day_weather":"小雨",
"night_weather":"中雨",
"jiangshui":"78%",
"air_press":"753.3hPa",
"night_wind_power":"0-3级 <5.4m/s",
"day_wind_power":"0-3级 <5.4m/s",
"day_weather_code":"07",
"sun_begin_end":"06:40|19:52",
"ziwaixian":"最弱",
"day_weather_pic":"http://app1.showapi.com/weather/icon/day/07.png",
"weekday":1,
"night_air_temperature":"4",
"day_wind_direction":"南风",
"day_air_temperature":"10",
"night_wind_direction":"南风",
"night_weather_pic":"http://app1.showapi.com/weather/icon/night/08.png",
"day":"20220502"
},
"f2":{
"night_weather_code":"07",
"day_weather":"小雨",
"night_weather":"小雨",
"jiangshui":"72%",
"air_press":"757.2hPa",
"night_wind_power":"0-3级 <5.4m/s",
"day_wind_power":"0-3级 <5.4m/s",
"day_weather_code":"07",
"sun_begin_end":"06:39|19:52",
"ziwaixian":"最弱",
"day_weather_pic":"http://app1.showapi.com/weather/icon/day/07.png",
"weekday":2,
"night_air_temperature":"7",
"day_wind_direction":"南风",
"day_air_temperature":"10",
"night_wind_direction":"南风",
"night_weather_pic":"http://app1.showapi.com/weather/icon/night/07.png",
"day":"20220503"
},
"f3":{
"night_weather_code":"07",
"day_weather":"小雨",
"night_weather":"小雨",
"jiangshui":"74%",
"air_press":"755.6hPa",
"night_wind_power":"0-3级 <5.4m/s",
"day_wind_power":"0-3级 <5.4m/s",
"day_weather_code":"07",
"sun_begin_end":"06:38|19:53",
"ziwaixian":"最弱",
"day_weather_pic":"http://app1.showapi.com/weather/icon/day/07.png",
"weekday":3,
"night_air_temperature":"5",
"day_wind_direction":"南风",
"day_air_temperature":"12",
"night_wind_direction":"西风",
"night_weather_pic":"http://app1.showapi.com/weather/icon/night/07.png",
"day":"20220504"
},
"now":{
"aqiDetail":{
"co":"0.6",
"num":"21",
"area":"丽江",
"so2":"6",
"o3":"76",
"no2":"6",
"quality":"优质",
"aqi":"24",
"pm10":"8",
"pm2_5":"4",
"o3_8h":"76",
"primary_pollutant":""
},
"weather_code":"01",
"temperature_time":"17:00",
"wind_direction":"东南风",
"wind_power":"2级",
"sd":"60%",
"aqi":"24",
"weather":"多云",
"weather_pic":"http://app1.showapi.com/weather/icon/day/01.png",
"rain":"0.0",
"temperature":"11"
},
"time":"20220502120000"
}
}
By this way
谢谢啦(水字数水字数)
See here for some ideas
Thank you
The issue could of course be that the JSON data is incorrectly formed/has bad syntax. Error 1105 means "Unable to decode the JSON text", which may well indicate that there is something wrong with it.
Developers can use this online json validator to determine if they are using a 'properly' formatted json