iOS jsonシーケンス化と逆シーケンス化

421 ワード

NSJSONReadingMutableContainers = 1,         
NSJSONReadingMutableLeaves = 2,            
NSJSONReadingAllowFragments = 4,              NSDictionary  NSArray

            1,  0           ,        
//    
[NSJSONSerialization JSONObjectWithData:data options:0 error:NULL];

//   
[NSJSONSerialization dataWithJSONObject:array options:0 error:NULL];