This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

KNMI Weather Data Netherlands
#9
That does not make sense (: and never seen an issue that looks like that..

The script is running top to bottom and when plaats = data.plaats works you can use the var plaats or data.plaats, but if it fails then neither work as plaats is dependent of data.plaats

Your code grp.checkwrite('x/x/x', data.plaats) is enough and there is no need to assign it to a var first..

What you say can be right if you use grp.write('x/x/x', plaats) without plaats = data.plaats, but your command is grp.write('x/x/x', data.plaats) and is using the parsed json data directly..
Reply


Messages In This Thread
KNMI Weather Data Netherlands - by KoBra - 07.12.2020, 16:00
RE: KNMI Weather Data Netherlands - by Daniel - 07.12.2020, 16:11
RE: KNMI Weather Data Netherlands - by KoBra - 07.12.2020, 16:50
RE: KNMI Weather Data Netherlands - by KoBra - 08.12.2020, 08:33
RE: KNMI Weather Data Netherlands - by KoBra - 09.12.2020, 12:38
RE: KNMI Weather Data Netherlands - by admin - 09.12.2020, 12:45
RE: KNMI Weather Data Netherlands - by KoBra - 09.12.2020, 13:58
RE: KNMI Weather Data Netherlands - by Erwin van der Zwart - 09.12.2020, 20:01
RE: KNMI Weather Data Netherlands - by KoBra - 11.12.2020, 19:02

Forum Jump: