i am getting this request.
{ \"area\": [ { \"area\": \"kothrud\" }, { \"area\": \"katraj\" }
you can use json_decode function
json_decode
foreach (json_decode($response) as $area) { print_r($area); // this is your area from json response }
See this fiddle