請告訴如何解決這個錯誤,這是在JSON數據(響應)代碼或問題的服務器端錯誤或錯誤錯誤域= NSCocoaErrorDomain代碼= 3840屬於服務器端還是本地代碼端?
Error: 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=0x7fd4484df340 {NSDebugDescription=JSON text did not start with array or object and option to allow fragments not set., NSUnderlyingError=0x7fd448488120 "Request failed: internal server error (500)"}
可能重複[可可錯誤3840使用JSON(iOS)](http://stackoverflow.com/questions/14171111/cocoa-error-3840-using-json-ios) – vadian
不是真的重複,因爲問題與JSON無關。 – gnasher729