Skip to content
This repository has been archived by the owner on Aug 13, 2018. It is now read-only.

建议将请求结果的log 转json 进行输出,格式比较清晰,在加上输出请求的url和参数比较好 #63

Open
Geoege-xll opened this issue Jun 27, 2018 · 0 comments

Comments

@Geoege-xll
Copy link

NSData * data = [NSJSONSerialization dataWithJSONObject:responseObject options:NSJSONWritingPrettyPrinted error:nil];
NSString *jcString = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
JCLog(@"=============请求结果:\n%@",jcString);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant