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.}
java中报这种错是因为类型错误,比如强转类型错误,本应该更新数据库却是插入,总之就是你的代码有问题。
本文探讨了Java中出现的特定JSON解析错误(错误代码3840),解释了该错误的原因在于数据格式不符合预期,通常由类型错误引起,并提供了解决此类问题的一般思路。
4192

被折叠的 条评论
为什么被折叠?



