new to Javascript here.I'm having a little trouble parsing some JSON with JQuery. I believe this is down to the structure of my JSON but as am using these scripts for another service so would like not to have to change there structure.
My JSON is as follows
{"customerInAccount":[{"customer_name":"Jane Doe","auto_id":"21"},{"customer_name":"Jack Black","auto_id":"22"}]}
I would ideally like to use customer_name to populate a listview and I would also like to save auto_id somewhere(maybe local storage) so if selected I can present the relevant data.
If anyone could help me structure a loop to parse this JSON I would really appreciate it.