I have this type of json input. [ { "id1" : "val1", "id2" : "val2" }, { "id1" : "val3", "id2" : "val4" }, ...]
How do I parse this inside autocomplete plugin available in jquery-ui? Basically I want the val1, val3, etc. corresponding to id1 to be the part of my autocomplete text. Any suggestions on how can I proceed with this?