I'm trying to parse a json file with query results retrieved through the ZenDesk API into a multidimensional array using AHK_L 1.1.10.01 and some other versions. I've attempted everything on these forums but have had no luck what so ever.
I've tried this: http://www.autohotke...-l-json-object/ and the other examples on it including the AHK v2 scripts and ScriptControl
And also attempted: http://www.autohotke...array-variables , http://www.autohotke...ode-und-decode/
Is there a JSON parsing solution that adds all the keys (email, name, password etc. ) and multiple variables ([email protected],[email protected],name1,name2, etc) in each as an object or multidimensional array? I already have the file with the JSON information( not structured ) automatically downloaded from the API using cURL command line tool.
Below is an example of the JSON I'm trying to parse:
{"users":[{"url":"https:wwww.website.com/file.json","id":55554,"external_id":null,"name":"some name1","alias":null,"created_at":"2012-03-22T17:12:46Z","updated_at":"2012-03-22T17:12:46Z","active":true,"verified":false,"shared":false,"shared_agent":false,"locale_id":null,"locale":"en-US","time_zone":"Central Time (US & Canada)","last_login_at":null,"email":"[email protected]","phone":null,"signature":null,"details":null,"notes":null,"organization_id":null,"role":"end-user","custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"tags":[],"suspended":false,"photo":null},{"url":"https:wwww.website.com/file2.json","id":55555,"external_id":null,"name":"some name2",created_at":"2012-03-22T17:20:01Z","updated_at":"2012-03-22T17:20:01Z","active":true,"verified":false,"shared":false,"shared_agent":false,"locale_id":null,"locale":"en-US","time_zone":"Central Time (US & Canada)","last_login_at":null,"email":"[email protected]","phone":null,"signature":null,"details":null,"notes":null,"organization_id":null,"role":"end-user","custom_role_id":null,"moderator":false,"ticket_restriction":"requested","only_private_comments":false,"tags":[],"suspended":false,"photo":null}]
Edited by stemsmit, 21 May 2013 - 09:16 PM.