Wow, I do not know what's going on. But what can I say, it is not to your json-file (I think) and also not to my lib.
I have your file validated and it seems all ok. I have tested your json file with this little code (without my lib) and it throws an error message every time.
(Text format were ANSI, UTF-8 and UTF-8 without BOM). Maybe a BUG in AppGameKit?
code:
jsonText as String
OpenToRead(1, "Janbo_Example2.json")
jsonText = ReadString(1)
CloseFile(1)
l = Len(jsonText)
CreateMemblock(1, l)
SetMemblockString(1, 0, jsonText)
DeleteMemblock(1)
Validated JSON-file
{
"cod":"200",
"message":0.7124,
"cnt":35,
"list":[
{
"dt":1492786800,
"main":{
"temp":16.22,
"temp_min":14.4,
"temp_max":16.22,
"pressure":1030.96,
"sea_level":1041.83,
"grnd_level":1030.96,
"humidity":71,
"temp_kf":1.82
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10d"
}
],
"clouds":{
"all":88
},
"wind":{
"speed":7.61,
"deg":281.001
},
"rain":{
"3h":0.03
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-21 15:00:00"
},
{
"dt":1492797600,
"main":{
"temp":13.87,
"temp_min":12.66,
"temp_max":13.87,
"pressure":1030.5,
"sea_level":1041.3,
"grnd_level":1030.5,
"humidity":66,
"temp_kf":1.22
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10d"
}
],
"clouds":{
"all":80
},
"wind":{
"speed":6.46,
"deg":297.501
},
"rain":{
"3h":0.005
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-21 18:00:00"
},
{
"dt":1492808400,
"main":{
"temp":11.37,
"temp_min":10.76,
"temp_max":11.37,
"pressure":1030.38,
"sea_level":1041.35,
"grnd_level":1030.38,
"humidity":75,
"temp_kf":0.61
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10n"
}
],
"clouds":{
"all":0
},
"wind":{
"speed":4.02,
"deg":279.005
},
"rain":{
"3h":0.01
},
"sys":{
"pod":"n"
},
"dt_txt":"2017-04-21 21:00:00"
},
{
"dt":1492819200,
"main":{
"temp":8.98,
"temp_min":8.98,
"temp_max":8.98,
"pressure":1029.7,
"sea_level":1040.75,
"grnd_level":1029.7,
"humidity":99,
"temp_kf":0
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10n"
}
],
"clouds":{
"all":92
},
"wind":{
"speed":3.31,
"deg":287.501
},
"rain":{
"3h":2.55
},
"sys":{
"pod":"n"
},
"dt_txt":"2017-04-22 00:00:00"
},
{
"dt":1492830000,
"main":{
"temp":8.3,
"temp_min":8.3,
"temp_max":8.3,
"pressure":1030.05,
"sea_level":1041.03,
"grnd_level":1030.05,
"humidity":100,
"temp_kf":0
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10n"
}
],
"clouds":{
"all":92
},
"wind":{
"speed":3.97,
"deg":359.515
},
"rain":{
"3h":1.73
},
"sys":{
"pod":"n"
},
"dt_txt":"2017-04-22 03:00:00"
},
{
"dt":1492840800,
"main":{
"temp":7.47,
"temp_min":7.47,
"temp_max":7.47,
"pressure":1030.8,
"sea_level":1041.87,
"grnd_level":1030.8,
"humidity":98,
"temp_kf":0
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10d"
}
],
"clouds":{
"all":32
},
"wind":{
"speed":3.52,
"deg":322.501
},
"rain":{
"3h":0.03
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-22 06:00:00"
},
{
"dt":1492851600,
"main":{
"temp":8.95,
"temp_min":8.95,
"temp_max":8.95,
"pressure":1031.47,
"sea_level":1042.48,
"grnd_level":1031.47,
"humidity":100,
"temp_kf":0
},
"weather":[
{
"id":800,
"main":"Clear",
"description":"klarer Himmel",
"icon":"01d"
}
],
"clouds":{
"all":0
},
"wind":{
"speed":5.05,
"deg":324.002
},
"rain":{
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-22 09:00:00"
},
{
"dt":1492862400,
"main":{
"temp":9.92,
"temp_min":9.92,
"temp_max":9.92,
"pressure":1030.65,
"sea_level":1041.72,
"grnd_level":1030.65,
"humidity":94,
"temp_kf":0
},
"weather":[
{
"id":803,
"main":"Clouds",
"description":"überwiegend bewölkt",
"icon":"04d"
}
],
"clouds":{
"all":56
},
"wind":{
"speed":5.7,
"deg":313.5
},
"rain":{
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-22 12:00:00"
},
{
"dt":1492873200,
"main":{
"temp":9.78,
"temp_min":9.78,
"temp_max":9.78,
"pressure":1030.04,
"sea_level":1040.99,
"grnd_level":1030.04,
"humidity":76,
"temp_kf":0
},
"weather":[
{
"id":803,
"main":"Clouds",
"description":"überwiegend bewölkt",
"icon":"04d"
}
],
"clouds":{
"all":68
},
"wind":{
"speed":6.16,
"deg":320
},
"rain":{
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-22 15:00:00"
},
{
"dt":1492884000,
"main":{
"temp":8.48,
"temp_min":8.48,
"temp_max":8.48,
"pressure":1029.81,
"sea_level":1040.83,
"grnd_level":1029.81,
"humidity":64,
"temp_kf":0
},
"weather":[
{
"id":804,
"main":"Clouds",
"description":"wolkenbedeckt",
"icon":"04d"
}
],
"clouds":{
"all":92
},
"wind":{
"speed":5.57,
"deg":324.004
},
"rain":{
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-22 18:00:00"
},
{
"dt":1492894800,
"main":{
"temp":6.09,
"temp_min":6.09,
"temp_max":6.09,
"pressure":1030.4,
"sea_level":1041.53,
"grnd_level":1030.4,
"humidity":67,
"temp_kf":0
},
"weather":[
{
"id":802,
"main":"Clouds",
"description":"überwiegend bewölkt",
"icon":"03n"
}
],
"clouds":{
"all":44
},
"wind":{
"speed":4.01,
"deg":322.005
},
"rain":{
},
"sys":{
"pod":"n"
},
"dt_txt":"2017-04-22 21:00:00"
},
{
"dt":1492905600,
"main":{
"temp":3.91,
"temp_min":3.91,
"temp_max":3.91,
"pressure":1030.47,
"sea_level":1041.61,
"grnd_level":1030.47,
"humidity":75,
"temp_kf":0
},
"weather":[
{
"id":800,
"main":"Clear",
"description":"klarer Himmel",
"icon":"02n"
}
],
"clouds":{
"all":8
},
"wind":{
"speed":3.11,
"deg":299.5
},
"rain":{
},
"sys":{
"pod":"n"
},
"dt_txt":"2017-04-23 00:00:00"
},
{
"dt":1492916400,
"main":{
"temp":2.18,
"temp_min":2.18,
"temp_max":2.18,
"pressure":1029.92,
"sea_level":1041.15,
"grnd_level":1029.92,
"humidity":87,
"temp_kf":0
},
"weather":[
{
"id":801,
"main":"Clouds",
"description":"ein paar Wolken",
"icon":"02n"
}
],
"clouds":{
"all":24
},
"wind":{
"speed":1.96,
"deg":267.501
},
"rain":{
},
"sys":{
"pod":"n"
},
"dt_txt":"2017-04-23 03:00:00"
},
{
"dt":1492927200,
"main":{
"temp":3.56,
"temp_min":3.56,
"temp_max":3.56,
"pressure":1029.75,
"sea_level":1040.87,
"grnd_level":1029.75,
"humidity":83,
"temp_kf":0
},
"weather":[
{
"id":801,
"main":"Clouds",
"description":"ein paar Wolken",
"icon":"02d"
}
],
"clouds":{
"all":24
},
"wind":{
"speed":3.22,
"deg":256.502
},
"rain":{
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-23 06:00:00"
},
{
"dt":1492938000,
"main":{
"temp":8.54,
"temp_min":8.54,
"temp_max":8.54,
"pressure":1029.04,
"sea_level":1039.99,
"grnd_level":1029.04,
"humidity":87,
"temp_kf":0
},
"weather":[
{
"id":800,
"main":"Clear",
"description":"klarer Himmel",
"icon":"02d"
}
],
"clouds":{
"all":8
},
"wind":{
"speed":2.81,
"deg":257.007
},
"rain":{
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-23 09:00:00"
},
{
"dt":1492948800,
"main":{
"temp":11.09,
"temp_min":11.09,
"temp_max":11.09,
"pressure":1026.9,
"sea_level":1037.82,
"grnd_level":1026.9,
"humidity":80,
"temp_kf":0
},
"weather":[
{
"id":801,
"main":"Clouds",
"description":"ein paar Wolken",
"icon":"02d"
}
],
"clouds":{
"all":24
},
"wind":{
"speed":3.51,
"deg":251.502
},
"rain":{
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-23 12:00:00"
},
{
"dt":1492959600,
"main":{
"temp":12.16,
"temp_min":12.16,
"temp_max":12.16,
"pressure":1024.02,
"sea_level":1034.77,
"grnd_level":1024.02,
"humidity":71,
"temp_kf":0
},
"weather":[
{
"id":801,
"main":"Clouds",
"description":"ein paar Wolken",
"icon":"02d"
}
],
"clouds":{
"all":20
},
"wind":{
"speed":4.47,
"deg":254.501
},
"rain":{
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-23 15:00:00"
},
{
"dt":1492970400,
"main":{
"temp":11.13,
"temp_min":11.13,
"temp_max":11.13,
"pressure":1021.45,
"sea_level":1032.25,
"grnd_level":1021.45,
"humidity":64,
"temp_kf":0
},
"weather":[
{
"id":801,
"main":"Clouds",
"description":"ein paar Wolken",
"icon":"02d"
}
],
"clouds":{
"all":12
},
"wind":{
"speed":4.07,
"deg":247.502
},
"rain":{
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-23 18:00:00"
},
{
"dt":1492981200,
"main":{
"temp":8.19,
"temp_min":8.19,
"temp_max":8.19,
"pressure":1019.77,
"sea_level":1030.64,
"grnd_level":1019.77,
"humidity":67,
"temp_kf":0
},
"weather":[
{
"id":801,
"main":"Clouds",
"description":"ein paar Wolken",
"icon":"02n"
}
],
"clouds":{
"all":12
},
"wind":{
"speed":4.08,
"deg":214
},
"rain":{
},
"sys":{
"pod":"n"
},
"dt_txt":"2017-04-23 21:00:00"
},
{
"dt":1492992000,
"main":{
"temp":7.08,
"temp_min":7.08,
"temp_max":7.08,
"pressure":1017.47,
"sea_level":1028.43,
"grnd_level":1017.47,
"humidity":68,
"temp_kf":0
},
"weather":[
{
"id":801,
"main":"Clouds",
"description":"ein paar Wolken",
"icon":"02n"
}
],
"clouds":{
"all":24
},
"wind":{
"speed":4.92,
"deg":219.003
},
"rain":{
},
"sys":{
"pod":"n"
},
"dt_txt":"2017-04-24 00:00:00"
},
{
"dt":1493002800,
"main":{
"temp":6.57,
"temp_min":6.57,
"temp_max":6.57,
"pressure":1014.86,
"sea_level":1025.83,
"grnd_level":1014.86,
"humidity":70,
"temp_kf":0
},
"weather":[
{
"id":802,
"main":"Clouds",
"description":"überwiegend bewölkt",
"icon":"03n"
}
],
"clouds":{
"all":32
},
"wind":{
"speed":5.28,
"deg":221.005
},
"rain":{
},
"sys":{
"pod":"n"
},
"dt_txt":"2017-04-24 03:00:00"
},
{
"dt":1493013600,
"main":{
"temp":7.24,
"temp_min":7.24,
"temp_max":7.24,
"pressure":1012.99,
"sea_level":1023.9,
"grnd_level":1012.99,
"humidity":70,
"temp_kf":0
},
"weather":[
{
"id":801,
"main":"Clouds",
"description":"ein paar Wolken",
"icon":"02d"
}
],
"clouds":{
"all":20
},
"wind":{
"speed":5.91,
"deg":226.006
},
"rain":{
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-24 06:00:00"
},
{
"dt":1493024400,
"main":{
"temp":12.63,
"temp_min":12.63,
"temp_max":12.63,
"pressure":1011.5,
"sea_level":1022.19,
"grnd_level":1011.5,
"humidity":69,
"temp_kf":0
},
"weather":[
{
"id":801,
"main":"Clouds",
"description":"ein paar Wolken",
"icon":"02d"
}
],
"clouds":{
"all":20
},
"wind":{
"speed":6.72,
"deg":237
},
"rain":{
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-24 09:00:00"
},
{
"dt":1493035200,
"main":{
"temp":15.62,
"temp_min":15.62,
"temp_max":15.62,
"pressure":1009.52,
"sea_level":1020.12,
"grnd_level":1009.52,
"humidity":69,
"temp_kf":0
},
"weather":[
{
"id":802,
"main":"Clouds",
"description":"überwiegend bewölkt",
"icon":"03d"
}
],
"clouds":{
"all":36
},
"wind":{
"speed":7.81,
"deg":243.001
},
"rain":{
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-24 12:00:00"
},
{
"dt":1493046000,
"main":{
"temp":15.69,
"temp_min":15.69,
"temp_max":15.69,
"pressure":1007.38,
"sea_level":1018,
"grnd_level":1007.38,
"humidity":64,
"temp_kf":0
},
"weather":[
{
"id":803,
"main":"Clouds",
"description":"überwiegend bewölkt",
"icon":"04d"
}
],
"clouds":{
"all":68
},
"wind":{
"speed":6.92,
"deg":246
},
"rain":{
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-24 15:00:00"
},
{
"dt":1493056800,
"main":{
"temp":14.12,
"temp_min":14.12,
"temp_max":14.12,
"pressure":1005.64,
"sea_level":1016.29,
"grnd_level":1005.64,
"humidity":63,
"temp_kf":0
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10d"
}
],
"clouds":{
"all":88
},
"wind":{
"speed":4.97,
"deg":260.002
},
"rain":{
"3h":0.035
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-24 18:00:00"
},
{
"dt":1493067600,
"main":{
"temp":11.32,
"temp_min":11.32,
"temp_max":11.32,
"pressure":1004.85,
"sea_level":1015.49,
"grnd_level":1004.85,
"humidity":65,
"temp_kf":0
},
"weather":[
{
"id":802,
"main":"Clouds",
"description":"überwiegend bewölkt",
"icon":"03n"
}
],
"clouds":{
"all":44
},
"wind":{
"speed":3.87,
"deg":265.001
},
"rain":{
},
"sys":{
"pod":"n"
},
"dt_txt":"2017-04-24 21:00:00"
},
{
"dt":1493078400,
"main":{
"temp":9.24,
"temp_min":9.24,
"temp_max":9.24,
"pressure":1004.88,
"sea_level":1015.56,
"grnd_level":1004.88,
"humidity":82,
"temp_kf":0
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10n"
}
],
"clouds":{
"all":92
},
"wind":{
"speed":3.91,
"deg":256
},
"rain":{
"3h":0.365
},
"sys":{
"pod":"n"
},
"dt_txt":"2017-04-25 00:00:00"
},
{
"dt":1493089200,
"main":{
"temp":7.03,
"temp_min":7.03,
"temp_max":7.03,
"pressure":1005.21,
"sea_level":1016.02,
"grnd_level":1005.21,
"humidity":100,
"temp_kf":0
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10n"
}
],
"clouds":{
"all":92
},
"wind":{
"speed":4.22,
"deg":310.005
},
"rain":{
"3h":2.38
},
"sys":{
"pod":"n"
},
"dt_txt":"2017-04-25 03:00:00"
},
{
"dt":1493100000,
"main":{
"temp":5.54,
"temp_min":5.54,
"temp_max":5.54,
"pressure":1006.58,
"sea_level":1017.44,
"grnd_level":1006.58,
"humidity":100,
"temp_kf":0
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10d"
}
],
"clouds":{
"all":92
},
"wind":{
"speed":2.97,
"deg":324.508
},
"rain":{
"3h":0.245
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-25 06:00:00"
},
{
"dt":1493110800,
"main":{
"temp":6.65,
"temp_min":6.65,
"temp_max":6.65,
"pressure":1008.3,
"sea_level":1019.17,
"grnd_level":1008.3,
"humidity":100,
"temp_kf":0
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10d"
}
],
"clouds":{
"all":64
},
"wind":{
"speed":2.06,
"deg":306.005
},
"rain":{
"3h":0.06
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-25 09:00:00"
},
{
"dt":1493121600,
"main":{
"temp":8.69,
"temp_min":8.69,
"temp_max":8.69,
"pressure":1008.93,
"sea_level":1019.8,
"grnd_level":1008.93,
"humidity":100,
"temp_kf":0
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10d"
}
],
"clouds":{
"all":80
},
"wind":{
"speed":2.11,
"deg":265.002
},
"rain":{
"3h":0.0099999999999998
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-25 12:00:00"
},
{
"dt":1493132400,
"main":{
"temp":8.53,
"temp_min":8.53,
"temp_max":8.53,
"pressure":1009.49,
"sea_level":1020.26,
"grnd_level":1009.49,
"humidity":90,
"temp_kf":0
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10d"
}
],
"clouds":{
"all":92
},
"wind":{
"speed":2.96,
"deg":284.501
},
"rain":{
"3h":0.13
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-25 15:00:00"
},
{
"dt":1493143200,
"main":{
"temp":8.07,
"temp_min":8.07,
"temp_max":8.07,
"pressure":1010.14,
"sea_level":1021.07,
"grnd_level":1010.14,
"humidity":82,
"temp_kf":0
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10d"
}
],
"clouds":{
"all":80
},
"wind":{
"speed":2.25,
"deg":318.501
},
"rain":{
"3h":0.16
},
"sys":{
"pod":"d"
},
"dt_txt":"2017-04-25 18:00:00"
},
{
"dt":1493154000,
"main":{
"temp":5.68,
"temp_min":5.68,
"temp_max":5.68,
"pressure":1011.67,
"sea_level":1022.47,
"grnd_level":1011.67,
"humidity":81,
"temp_kf":0
},
"weather":[
{
"id":500,
"main":"Rain",
"description":"leichter Regen",
"icon":"10n"
}
],
"clouds":{
"all":20
},
"wind":{
"speed":2.93,
"deg":339.001
},
"rain":{
"3h":0.02
},
"sys":{
"pod":"n"
},
"dt_txt":"2017-04-25 21:00:00"
}
],
"city":{
"id":2905455,
"name":"Herzogenrath",
"coord":{
"lat":50.8707,
"lon":6.1014
},
"country":"DE"
}
}