A JSONObject text must begin with '{' at character 1 of true

1.要么是格式问题,有空格,去格式化一下
2.要么是保存的时候的编码问题,不带UTF-8的BOM编码

猜你喜欢

转载自blog.csdn.net/weixin_37565521/article/details/88315388