i am trying to get only JSON response from a webservice. i am getting the below response.
<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">[["123","testing123"]]</string>
which has XML. how can i get only JSON response. right now i am am getting parsing failed error. how can this be fixed. please help.
Try :
And use SBJson (or other JSON library) to convert the resulting string to JSON.