I need to search inside a json list of countries. The json is like:
[ 
{"name": "Afghanistan", "code": "AF"}, 
{"name": "Åland Islands", "code": "AX"}, 
{"name": "Albania", "code": "AL"}, 
{"name": "Algeria", "code": "DZ"}
]
I get from database only the code and would output the entire name. So if I get "AL" I would like to retrieve from json "Albania"
 
     
     
     
     
     
    