[]这个怎么解决

VM6703:1 gameThirdScriptError
Unexpected token A in JSON at position 217;at api readFile success callback function
SyntaxError: Unexpected token A in JSON at position 217
at JSON.parse (<anonymous>)
at Function.MiniAdpter.getJson (http://127.0.0.1:38746/game/code.js:34118:15)
at Function.MiniLoader.onReadNativeCallBack (http://127.0.0.1:38746/game/code.js:41764:25)
at Handler.__proto.runWith (http://127.0.0.1:38746/game/code.js:709:28)
at Function.success (http://127.0.0.1:38746/game/code.js:34388:33)
at Object.success (http://127.0.0.1:38746/game/__ ... :20858)
at c (http://127.0.0.1:38746/game/__ ... 4:7182)
at Function.<anonymous> (http://127.0.0.1:38746/game/__ ... 4:7365)
at n.function.setTimeout (http://127.0.0.1:38746/game/gamePage.html:1:42433)
at http://127.0.0.1:38746/game/__ ... 20858


这个报错怎么解决呢?
已邀请:

Aar0n

赞同来自:

json文件 要utf-8编码, 解码的时候也要utf-8

steven chan

赞同来自:

改完之后还是会报错啊?

要回复问题请先

商务合作
商务合作