Here i want to develop bus ticket booking website i want to display cities when the user types. I have tried many articles they are all calling remote api to get the data. But i don't know how to get the data from local json. i have done it autocomplete extender for data from server in asp.net. Now i want to do it in jquery for local json file
here is my json file :
{"stationList":[{"stationName":"10 dol","stationId":-1},{"stationName":"Adduroad","stationId":4508},{"stationName":"Adilabad","stationId":4198},{"stationName":"Adoni","stationId":2893},{"stationName":"Afzulgunj","stationId":-1},{"stationName":"Agaratala","stationId":-1},{"stationName":"Agartala","stationId":-1},{"stationName":"Agra","stationId":2486},{"stationName":"Ahmedabad","stationId":2434},
"apiStatus":{"success":true,"message":"SUCCESS"}}
i don't know how to implement in jquery or angularjs i have tried many articles found on the internet jQuery autocomplete using a local json file? autocomplete textbox and angularjs