You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to make my mod scanner. Noticed your mod has some bad json
Getting 228756-2550378
Extracting mcmod.info
Traceback (most recent call last):
File "convert.py", line 42, in <module>
mcmodinfo = json.load(g)
File "/usr/lib64/python3.6/json/__init__.py", line 299, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python3.6/json/decoder.py", line 355, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Invalid control character at: line 5 column 77 (char 128)
[root@vps38015 twitch-to-at]# cat tmp/mcmod.info
[
{
"modid": "ironchest",
"name": "Iron Chest",
"description": "New chests with larger sizes, with in-place upgrade items.
The feature chest is the crystal chest, which is transparent - some inventory contents are visible without opening the chest",
"version": "1.12.2-7.0.42.827",
"mcversion": "1.12.2",
"url": "http://www.minecraftforum.net/topic/981855-",
"updateUrl": "",
"authorList": ["cpw"],
"credits": "By cpw, based on an original idea by Lishid",
"logoFile": "",
"screenshots": [],
"parent":"",
"dependencies": []
}
]
Based on a run from https://jsonlint.com/ looks like you have some line indentations.
The text was updated successfully, but these errors were encountered:
Trying to make my mod scanner. Noticed your mod has some bad json
Based on a run from https://jsonlint.com/ looks like you have some line indentations.
The text was updated successfully, but these errors were encountered: