title: Problem Saving json to .plist
body: <pre><code>-(IBAction)buttonlogin:(id)sender
  {
  
  
  
      NSString *samplejson=@"http://www.colorysabor.com/sample.json";
  
      NSData *flickrData=[NSData dataWithContentsOfURL:[NSURL URLWithString:samplejson]];
      NSError *theError = nil;
  
      NSMutableDictionary *theObject = [[NSMutableDictionary alloc] init];
      theObject =[[CJSONDeserializer deserializer] deserialize:flickrData error:&amp;theError];
  
  
  
  NSLog(@"Result: %@",theObject);
  
      NSBundle *bundle = [NSBundle mainBundle];
      NSString *filePath = [bundle pathForResource:@"data" ofType:@"plist"];
  
  
      [theObject writeToFile:filePath atomically:YES];
  </code></pre>
  
  <p>I intend to save the json parse to a data.plist for use later, but is not saving </p>