Unable to open Skills.json

Hello!

So those database files in the .json format can be opened in a text editor. You could actually use that to replace, for example, all instances of "HP" in skill descriptions with "LP". Or "ATK" with "STR" maybe. Things like that.

When I copy the text into OpenOffice and use search & replace, then copy it back into the .json, RPG Maker MV tells me it was "Unable to open Skills.json".

Why is that? It's still only text, isn't it? Should I use a different editor? If so, which one?

EDIT: Solved the problem. 🙂 Apparently line breaks play a role in .json files. I found this online text editor that can search & replace and doesn't break lines:

http://textmechanic.com/Find-and-Replace-Text.html

In case anyone else wants to use this method.
You do realize in the editor program, there's a Terms tab for this very reason... to switch terms with whatever you want.  But regardless, use Notepad as opposed to OpenOffice.  Or be sure when you save, it is in fact plain text.  JSON is also very finicky, so make sure you didn't overwrite a quoteation mark,. or any other special symbol that JSON uses.
The Terms tab doesn't help with skill descriptions, though. And this direct json editing isn't only restricted to terms, either. 🙂 Maybe I have used \c[10] throughout my skill/item/equipment descriptions, but I actually want to use \c[11] instead (and for some reason, editing Window.png isn't a solution, because I use \c[10] elsewhere, too, or whatever)? Can do it that way!
Skill descriptions you add, so they say whatever you want them to say.  So I'm not exactly sure why you feel the need to edit the JSON directly... And \c[x] tags are for colors, so I don;t see what that has to do with text replacements..  But hey, it's your app, your game... do whatever you want...

However, be sure the file is definitely saved in plain text, and be sure not to mess up any formatting in the JSON.  JSON is very particular about braces, semi-colons, square brackets, etc...
I want to edit the .json file directly because I can run a search & replace on them instead of going through every single database entry and change \c[10] to \c[11], for example.
If you're on Windows, use Notepad++ to edit JSON. If you're on Mac, use TextWrangler. Or on both platforms, give SublimeText or Brackets a go. 🙂

Original thread: https://forums.rpgmakerweb.com/threads/unable-to-open-skills-json.48473/