[501] Plugin crash (json.json:538)

Plugin specific problems will be solved here.

Moderator: Plugin Moderators

User avatar
sairam
Inhabitant of a Conurbation
Reactions:
Posts: 537
Joined: 31 Dec 2017, 13:35
Location: India Pudukkottai
Plugins: Showcase Store
Version: Beta

Platform

[501] Plugin crash (json.json:538)

#1

Post by sairam »

Hi, I got the following error with a plugin (json.json:538):

Code: Select all

In /data/user/0/info.flowersoft.theotown.theotown/files/plugins/school.zip/school/json.json:

org.json.JSONException: Unterminated object at character 258 of [
 {
    "id":"$schoolbus00",
    "type":"car",
    "frames":[
      {"bmp":"schoolbus.png","w":15,"h":12,"count":4}  

    ],
    "v2":true
},
{
      "id":"$bigschool00",
	  "type":"education",
	  "width":4,
	  "height":4,
	  "frames":[{"bmp":"school.png""w":128,"h":96}],
	  "car spawner":[
      {
        "cars":["$schoolbus00"],
        "radius":150,
        "count":15
      }
	 ], 
	  "price":60000,
	  "monthly price":3000,
	  "influence education low":80,
	 "provide aspect education low":3000
 }
]  
Device: Moto E (4) Plus (motorola)
Android: 25 (7.1.1)

Thank you in advance.

User avatar
CommanderABab
AB
Reactions:
Posts: 11107
Joined: 07 Jun 2016, 21:12
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: [501] Plugin crash (json.json:538)

#2

Post by CommanderABab »

Code: Select all

school.png""w"
You forgot a comma between school.png" and "w".

User avatar
Lobby
Developer
Reactions:
Posts: 3705
Joined: 26 Oct 2008, 12:34
Plugins: Showcase Store
Version: Beta

Platform

Re: [501] Plugin crash (json.json:538)

#3

Post by Lobby »

I suggest tools like jsonlint.com to track down syntax issues :)

Post Reply Previous topicNext topic

Return to “Problems”