AutoHotkey objects don't support single quotes, use double quotes. If a key doesn't contain spaces, quotes do not required. So, it could be: obj.key3[4] := {key34: "value34"}
Is there a simple and reliable way to process JSON data? Topic is solved
-
- Posts: 4309
- Joined: 29 Mar 2015, 09:41
- Contact:
Re: Is there a simple and reliable way to process JSON data?
Last edited by teadrinker on 06 May 2020, 11:49, edited 2 times in total.
Re: Is there a simple and reliable way to process JSON data?
' and " are not interchangable like js. Must be:
Code: Select all
obj.key3[4] := {"key34": "value34"}
Code: Select all
obj.key3[4] := {key34: "value34"}
-
- Posts: 18
- Joined: 12 Mar 2020, 01:51
Re: Is there a simple and reliable way to process JSON data?
Thank you @teadrinker and @Chunjee! I learn something new everyday.
Who is online
Users browsing this forum: jaka1 and 147 guests