美文网首页程序学习的爬坑之旅
AFNetworking报出的错误。。

AFNetworking报出的错误。。

作者: SHyH5 | 来源:发表于2016-01-25 12:50 被阅读67次

Error Domain=NSCocoaErrorDomain Code=3840 "JSON text did not start with array or object and option to allow fragments not set." UserInfo={NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}

我报出的这类错误是服务端给出了一个不是json string类型的报文,需要联系服务端看看是不是出现的错误。。即可

相关文章

网友评论

    本文标题:AFNetworking报出的错误。。

    本文链接:https://www.haomeiwen.com/subject/ertdkttx.html