title: How to parse JSON into Objective C - SBJSON
body: <p>Could you please tell me how to pass a JSON String which looks like this:</p>
  
  <pre><code>{"lessons":[{"id":"38","fach":"D","stunde":"t1s1","user_id":"1965","timestamp":"0000-00-00 00:00:00"},{"id":"39","fach":"M","stunde":"t1s2","user_id":"1965","timestamp":"0000-00-00 00:00:00"}]}
  </code></pre>
  
  <p>I tried it like this:</p>
  
  <pre><code>SBJSON *parser =[[SBJSON alloc] init];
      NSArray *list = [[parser objectWithString:JsonData error:nil] copy];
      [parser release];
      for (NSDictionary *stunden in list)
      {
          NSString *content = [[stunden objectForKey:@"lessons"] objectForKey:@"stunde"];
  
      }
  </code></pre>
  
  <p>thanks in advance</p>
  
  <p>best regards</p>