Page 1 of 1

[537] Plugin crash (nukeplanttwins.json:822)

Posted: Fri Nov 02, 2018 16:12
by Between3Characters
Hi, I got the following error with a plugin (nukeplanttwins.json:822):

Code: Select all

In /storage/emulated/0/TheoTown/plugins/my plugins/Nukeplant/nukeplanttwins.json:

org.json.JSONException: Expected literal value at character 735 of 
[
 {
  "id":"$Energy00:NukeplantTwinReactors",
  "type":"energy",
  "width":2,
  "height":2,
  "frames":[{"bmp":"nukeplanttwinreactor.png"}],
  "title":"Twin Reactors",
  "text":"Part of a nuke plant: the Twin Reactors. these kind of reactor, with the control building at the center, was implemented in 2004, when Teew (My City) power plant worker and architects got a idea to make two twin reactors on Teew City Nuclear Power  Plant. then they think of making a new type of reactor, with a control building. this is the building of the idea.",
  "influence radioactive": 21,
  "price":5600,
  "monthly price":1250,
  "power":"547",
  "water":"0",
  "author":"BetweenThreeCharacters",
  "draw ground":true,
  "rotation aware":false,
 }
]
Device: A1601 (OPPO)
Android: 22 (5.1)

Wow... :json :teach Thats very... Hard.

Thank you in advance.

Re: [537] Plugin crash (nukeplanttwins.json:822)

Posted: Fri Nov 02, 2018 16:13
by Between3Characters
Edit: fixed..... I can fix it by deleting a comma.