title: Question about JSONKit analyze
body: <p>First look at my json file, like this:</p>
  
  <pre><code>[
    {
      id: 1
      arr: {
          name: "功夫"
          sex: "m"
          age: 40
      }
      GP: [
          {
              Peter: 32
          }
      ]
    }
  ]
  </code></pre>
  
  <p>I used JSONKit analyze this file. and like this code</p>
  
  <pre><code>JSONDecoder *jsonDec = [[[JSONDecoder alloc] initWithParseOptions:JKParseOptionNone] autorelease];
  
  dic = [jsonDec objectWithData:data];
  if (dic == nil) {
      NSLog(@"dic is nil !!!!!!!!!");
      return;
  }
  
  NSLog(@"%d..",[dic count]);
  NSLog(@"%@",dic);
  
  if (dic != nil) {
      for (id ary in dic) {
          NSLog(@"kkkkkk %@",[ary objectForKey:@"arr"]);
      }
  
      for (id key in dic)
      {
  
          NSLog(@"key: %@ ,value: %@",key,[dic objectForKey:key]);
                      //this line error.
      } 
  }
  </code></pre>
  
  <p>when the runtime, it crash.</p>
  
  <pre><code>2011-07-28 19:24:27.499 MyJSONTest[27274:207] -[JKArray objectForKey:]: unrecognized selector sent to instance 0x692ee40
  2011-07-28 19:24:27.500 MyJSONTest[27274:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[JKArray objectForKey:]: unrecognized selector sent to instance 0x692ee40'
  </code></pre>
  
  <p>I need some help, thanks all.</p>