title: how can i parse a json string into nsdictionary?
body: <p>i am writing code for login application. can anyone help me how to parse a json string?
  my code is</p>
  
  <pre><code>-(void)connectionDidFinishLoading:(NSURLConnection *)connection
  {
  
      NSString *loginStatus = [[NSString alloc] initWithBytes: [webData mutableBytes] length:[webData length] encoding:NSUTF8StringEncoding];
  
      SBJsonParser *parser = [[SBJsonParser alloc] init];
  
      NSArray *loginDict = [parser objectWithString:loginDict error:nil];
  
      [loginStatus release];
  
      [connection release];
  </code></pre>