You need to sign in to do that
Don't have an account?

hi guys i want to map this parsed data how to do it ..........
when i provide the ip address and hit the button i am getting this response
ip:: 8.8.8.8, country_code:: US, country_name:: United States, region_code:: CA, region_name:: California, city:: Mountain View, zip_code:: 94040, time_zone:: America/Los_Angeles, latitude:: 37.386, longitude:: -122.084, metro_code:: 807
how to deserialize and move it into an object
ip:: 8.8.8.8, country_code:: US, country_name:: United States, region_code:: CA, region_name:: California, city:: Mountain View, zip_code:: 94040, time_zone:: America/Los_Angeles, latitude:: 37.386, longitude:: -122.084, metro_code:: 807
how to deserialize and move it into an object
You will have to use JSON parsing in order to deserialize it and moving it into object.
Refer http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#StartTopic=Content/apex_methods_system_json_overview.htm
Hope this helps.