dictionary - How to iterate a map that contains another map with jQuery? -


i have json called data:

like can see, map contains map (listinfo).

i iterate with:

$.each(data, function (key, value) {     alert(value); }; 

the alert print values (1, reunion, 15/06/2015, , on) when arrives listinfo prints, rightly, [object object]

how can solve problem? thanks

function loop(data) {     $.each(data, function (key, value) {         if(typeof value === "object")             loop(value);         else             alert(value);     }); } loop(data); 

Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -