ajax - Parsing a JSON file using Javascript/JQUery -
i have json file: { "guest": { "permissions": { "webportal": [ "access", "modify" ], {…} "test/dashboard": [ "access" ] }, "users": [ "guest" ], "time_out": "3600000" }, "administrator": { "permissions": { "webportal": [ "monitoring", "access", "modify" ], {…} "test/settings": [ "access", "modify" ] }, "users": [ "admin" ], "time_out": "3600000" } } what need take first items , drop them select box. instance: guest, administrator , under "users" section, 'n' number of entries, needs put select