I need to find a value based on another object value
json = {[{ID:"1",city:"Atlanta"},{ID:"2",city:"New York"}]}
and so forth.
I need to find the value of a city where ID is x. Is there anyway to do it without using loops?
More Details: I have to create a json object looping thru the document, then I send this json to the webservice, which return me another set of json to populate the fields.