JSON 数组转化 OC的数组转化成OC格式的字符串

时间:2014-09-15 03:26:58   收藏:0   阅读:368

1.将OC的数组转化成OC格式的字符串
    NSArray * arr = @[@"aa",@"bb",@"cc"];
2.转化
    NSString * jsonStr = [arr JSONString];
    NSLog(@"%@",jsonStr);

原文:http://qccccc.blog.51cto.com/6004423/1552648

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!