fastjson
fastjson copied to clipboard
JSONException: syntax error, expect {, actual error, pos 1
报错: 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"}}
能上完整的示例吗
问题已经解决了,好像是因为缓冲输出json时多加了header所致