Electrenator / JSONsInZIPsEditor

This program's purpose is to change the value of things with a specified key in a lot of JSON files over multiple ZIPs quickly, or at least quicker than a human
GNU General Public License v3.0
2 stars 1 forks source link

Strings or ints that replace JSON objects brake JSON syntax #1

Closed Electrenator closed 4 years ago

Electrenator commented 4 years ago

JSON values that are a few lines shorter than the original are breaking the JSON syntax. Like if it replaces the value {"Some Key": "Some value"} with "Some string" it will save invalid syntax.

Already working on a fix and have put it in a todo in the code but seemed like a good idea to also put it here to let people know this is an issue at the moment.

Electrenator commented 4 years ago

It also does this with JSON arrays as the longer value or anything longer than the replacement

Electrenator commented 4 years ago

like it says in the reference above; it's fixed in c75e986 :)