title: How to remove White spaces in JSON String in Objective-c
body: <p>I am converting my json string to <code>NSMutableDictionary</code> by using below code,it's working fine,but if there is any unwanted white spaces are there then dictionary become null,i tested it with JSON lint, JSON parser, if i remove manually that white space that JSON string become valid, there is any method to remove that white spaces in JSON String.</p>
  
  <pre><code>NSMutableDictionary  *responseDictionary;
           NSData * data = (NSData *)responseObject;
           NSString *jsonString =  [[NSString alloc] initWithData:responseObject encoding:NSUTF8StringEncoding];
           responseDictionary = [NSJSONSerialization JSONObjectWithData:data
                                                                options:NSJSONReadingMutableContainers
                                                                  error:nil];
           NSLog(@"the value in the dic is%@",responseDictionary);
  </code></pre>
  
  <p>Thanks In Advance</p>