Guest User

Untitled

a guest
Jan 23rd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. NSError *error = nil;
  2. NSData *json = [NSData dataWithContentsOfFile:path];
  3. id object = [NSJSONSerialization JSONObjectWithData:json options:NSJSONReadingMutableContainers error:&error];
  4.  
  5. // object is a dictionary or an array you can now use
Add Comment
Please, Sign In to add comment