1字典转JSON字符串
//NSDictionary转换为Data
NSData* jsonData = [NSJSONSerialization dataWithJSONObject:dic options:NSJSONWritingPrettyPrinted error:nil];
//Data转换为JSON
NSString* str = [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];