解析错误。期待'}',','得到了'EOF'

时间:2018-06-03 14:49:26

标签: json parsing error-handling

我正在寻找数据文件中的错误,因为它让游戏陷入困境而不是开始。我对编程一无所知,所以如果这是毫无意义的,不要杀了我。 错误(JSONLint):

错误:第6782行上的解析错误: ... cSpeciesCached":0.0 ----------------------- ^ 期待'}',',',得到了'EOF'

文件的最后一部分:

"facilities": [{
  "cityID": "Qk3s7KAzLwUz7v0KQjUdCZyW0X2x9rZc",
  "constructionType": 0,
  "constructionTimer": {
    "repeatMax": 7200,
    "timeInterval": 4680,
    "hasFired": true,
    "repeats": false,
    "shouldCatchUp": true,
    "shouldStop": true,
    "iterationThreshold": 2340,
     "iterations": 19849
    },
    "upgradeTimer": {
      "repeatMax": 7200,
      "timeInterval": 3600,
      "hasFired": true,
      "repeats": false,
      "shouldCatchUp": true,
      "shouldStop": true,
      "iterationThreshold": 1800,
      "iterations": 3606
    },
    "facilityID": "HA17AvUZYVNrGIW64FrOOzx5eIXyX2vG",
    "type": 33,
    "level": 2,
    "isDisabled": false,
    "isOnMoon": true,
    "heatCached": 0.0,
    "airPressureCached": 0.0,
    "oxygenContentCached": 0.0,
    "seaLevelCached": 0.0,
    "biomassCached": 0.0,
    "aquaticSpeciesCached": 0.0

整个文件长6782行,我认为这对于发现错误来说太大了,是吗?

0 个答案:

没有答案