-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
可以支持NSDictionary,有考虑吗? #16
Comments
就是直接把NSDictionary的字符串形式放入进去格式化是吧? |
可以试试在底层把字典转成json,我有用过类似的方法
|
@yangchao0033 他是指的NSDictionary的description的打印 |
嗯~ 是的~ 因为我这边自己写的网络请求,和服务端约定好了,所以-(void)dataRequestConnectionDidFinishLoading:(NSURLConnection *)connection,就直接 [NSJSONSerialization JSONObjectWithData:self.allData options:NSJSONReadingMutableLeaves error:&error]; 转成 NSDictionary 。 |
{"name":"zhangsan"} 可以成功 |
No description provided.
The text was updated successfully, but these errors were encountered: