title: Exception throwing JSON supporting program in iphone
body: <p>I downloaded JSON files. I added these files in project directory. But when I am runnig program I am getting an error which is...</p>
  
  <blockquote>
    <p>-[__NSCFDictionary
    JSONRepresentation]: unrecognized
    selector sent to instance 0x6003d50</p>
    
    <p><strong>* Terminating app due to uncaught exception
    'NSInvalidArgumentException', reason:
    '-[__NSCFDictionary
    JSONRepresentation]: unrecognized
    selector sent to instance 0x6003d50'
    *</strong> Call stack at first throw:</p>
  </blockquote>
  
  <p>I imported header file <code>#import "JSON/JSON.h"</code> and I wrote jsocn code in viewDidLoad function which is like below...</p>
  
  <pre><code>NSDictionary *requestData = [NSDictionary dictionaryWithObjectsAndKeys:
                               @"grio", @"username",
                               @"hellogrio", @"password",
                               nil];
  
  NSString* jsonString = [requestData JSONRepresentation];
  
  NSLog(@"%@", jsonString);
  </code></pre>
  
  <p>Kindly help me.</p>
  
  <p>Thanks in advance.</p>