iOS开发过程中,遇到解析的json数据为<null>,进行赋值时会导致崩溃,使用AFNetworking可以这样解决。
时间:2016-03-03 13:02:54
收藏:0
阅读:287
((AFJSONResponseSerializer *)manager.responseSerializer).removesKeysWithNullValues = YES;
原文:http://www.cnblogs.com/siasyl/p/5237835.html
评论(0)