Hi, I got the following error with a plugin (notifytest2.json:161):
Code: Select all
In /storage/emulated/0/TheoTown/plugins/Building/notifytest2.json:
org.json.JSONException: Value {"type":"notification","id":"$notify_test00","frames":[{"steal":"$anim_people_source01","frame":14}],"text":"Hi, I'm a test notification!"} of type org.json.JSONObject cannot be converted to JSONArray
I have already tested it on JSONlint, it says valid json.
- notifytest2.json
- This is json file. Just wanted to test notification fun function in the Tutorials and Documentation.
- (161 Bytes) Downloaded 85 times
- znotifybuilding.json
- This is the building json, also copy paste it to test the notification function.
- (265 Bytes) Downloaded 84 times
Device: SM-G360H (samsung)
Android: 19 (4.4.4)
Using current beta 4.1.6. I hope you guys can tell me what is the error.
Thank you in advance.