0
當JSONValue無法讀取json iphone時,應用程序崩潰了嗎?當JSONValue無法讀取json時應用程序崩潰iphone
這裏什麼即時得到
Response [{"profile_pic":"1.jpg","user_name":"Jack"}]
2011-02-17 13:37:38.209 App[3964:207] -JSONValue failed. Error trace is: (
"Error Domain=org.brautaset.JSON.ErrorDomain Code=3 \"Object key string expected\" UserInfo=0x6057070 {NSLocalizedDescription=Object key string expected}",
"Error Domain=org.brautaset.JSON.ErrorDomain Code=3 \"Expected value while parsing array\" UserInfo=0x6057120 {NSUnderlyingError=0x60570d0 \"Object key string expected\", NSLocalizedDescription=Expected value while parsing array}"
)
您的JSON字符串是有效的。你使用最新的SBJSON版本嗎? – 2011-02-17 08:53:36