Q:

Object conversion in android

I have one server URL, when i send request to server URL, 
  Get data in Ajax Servlet format.
  so i want to store this responded data in json object format in mobile side.
  How is it possible Please guide me
  The responded data have multiple city name  

A:

This is xml format. So you have to convert xml to json.
You can use  java json library to do it.
It provides api to do so.
JSONObject jsonObj = XML.toJSONObject(yourXmlString);

