JSON Code3840错误

当在post发送一个数据,返回来得如下错误的时候:

Error Domain=NSCocoaErrorDomain Code=3840 "The operation couldn’t be completed. (Cocoa error 3840.)" (JSON text did not start with array or object and option to allow fragments not set.) UserInfo=XXXXXXXXX {NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set.}

这个是服务器端的问题,PHP代码的问题,和本地代码没有关系。

posted @ 2014-06-16 18:39  Songxin  阅读(934)  评论(0编辑  收藏  举报