How to parse the data into Json Format in ios?
<p>I Converted NSData to string then I am getting the string like below, Now I want to parse this one. If parse with json serilazation I am getting json data nil. </p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;&lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;&lt;soap:Body&gt;&lt;EmployeesLoginMethodResponse xmlns="http://tempuri.org/"&gt;&lt;EmployeesLoginMethodResult&gt;[{"sms":"You have logged in successfully!","userId":"29","type":"1","name":"mng 56 78"}]&lt;/EmployeesLoginMethodResult&gt;&lt;/EmployeesLoginMethodResponse&gt;&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;
</code></pre>

<p>If I parse using <strong>XML</strong> I am Getting The <strong>String</strong> Like below,In this How to get value of <strong>sms</strong>,<strong>userId</strong>,<strong>name</strong></p>

<pre><code> [{
  "sms": "You have logged in successfully!",
  "userId": "13",
  "type": "1",
  "name": "Suhashini Kumari Singh"
 }]
</code></pre>

<p>Here is my code</p>

<pre><code>   NSString *urlString=[NSString stringWithFormat:@"http://workforce.wifisocial.in/WebServicesMethods/EmployeesWebService.asmx"];
NSString* webStringURL = [urlString stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSURL* url = [NSURL URLWithString:webStringURL];

NSMutableURLRequest *request = [[NSMutableURLRequest alloc] init];
NSString* requestBody =[NSString stringWithFormat:@"&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;&lt;soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"&gt;&lt;soap:Body&gt;&lt;EmployeesLoginMethod xmlns=\"http://tempuri.org/\"&gt;&lt;username&gt;\%@&lt;/username&gt;&lt;password&gt;\%@&lt;/password&gt;&lt;IpAddress&gt;\%@&lt;/IpAddress&gt;&lt;deviceName&gt;\%@&lt;/deviceName&gt;&lt;/EmployeesLoginMethod&gt;&lt;/soap:Body&gt;&lt;/soap:Envelope&gt;",self.userNameTextFiled.text,self.passwordTextField.text,ipAddress,deviceName];

[request setURL:url];
[request setHTTPMethod:@"POST"];
[request setValue:@"text/xml" forHTTPHeaderField:@"Content-type"];

[request setValue:@"\"http://tempuri.org/EmployeesLoginMethod\"" forHTTPHeaderField:@"SOAPAction"];

[request setHTTPBody:[requestBody dataUsingEncoding:NSASCIIStringEncoding allowLossyConversion:YES]] ;

NSError *error;
NSHTTPURLResponse *response = nil;
NSData * urlData=[NSURLConnection sendSynchronousRequest:request returningResponse:&amp;response error:&amp;error];
NSLog(@"Response code: %ld", (long)[response statusCode]);

NSString* responseString = [NSString stringWithUTF8String:[urlData bytes]];
   NSLog(@"%@",responseString);
if (urlData)
{
    NSDictionary *json = [NSJSONSerialization JSONObjectWithData:urlData options:0 error:&amp;error];
</code></pre>