fastjson icon indicating copy to clipboard operation
fastjson copied to clipboard

JSONException: syntax error, expect {, actual error, pos 1

Open ghost opened this issue 11 years ago • 2 comments

报错: JSONException: syntax error, expect {, actual error, pos 1。 内容: {"code":1,"msg":"\u83b7\u53d6\u6570\u636e\u6210\u529f","data":{"versionName":"v1.0","versionCode":1,"content":"\u521d\u59cb\u7248\u672c","url":"http://***.apk"}}

ghost avatar Jul 12 '15 13:07 ghost

能上完整的示例吗

LQZYC avatar Jul 21 '15 02:07 LQZYC

问题已经解决了,好像是因为缓冲输出json时多加了header所致

ghost avatar Aug 09 '15 20:08 ghost