xcode 序列化打印JSON

2019-07-25  本文已影响0人  独角兽_d8a4

NSLog(@"%@",[[NSString alloc] initWithData:[NSJSONSerialization dataWithJSONObject:dctionary options:NSJSONWritingPrettyPrinted error:nil] encoding:NSUTF8StringEncoding]);

上一篇 下一篇

猜你喜欢

热点阅读