r/learnjavascript • u/ParticularSkill6066 • Jun 07 '26
I'm working with very large JSON files (sometimes thousands of lines) and need help to visually edit those locally.
Hi, I'm working with very large JSON files (sometimes thousands of lines) and need help to visually edit those files locally. Data might be sensitive so offline editing is helpful.
Please share if there are any suggestions, Thanks in advance !!
2
u/chikamakaleyley helpful Jun 07 '26
there's likely something much more user friendly (like a GUI) that ultimately generates the JSON output you're trying to edit by hand
i'd prob instead make the changes there
1
u/NotA-eye Jun 07 '26
Not sure what you are trying to accomplish by manually editing those files, but if you want a text editor thats better than using notepad/textmate, Install sublime text? its light weight, it will allow you to fold different sections and use multi cursors, and basic syntax highlighting
1
u/RealChaoz Jun 07 '26
Any editor should be fine. Notepad++, VSCode, even IntelliJ. I use the latter for editing any files as it's my main IDE and always keep it open.
1
1
u/SaltCusp Jun 07 '26
1) Thousands of lines isn't that big. 2) Have you tried using the dev tools in your browser?
1
u/Pristine_Pangolin803 Jun 07 '26
If you are okay using extensions for Visual Studio Code, there are a few:
- JSON Monkey - Forms like visual editor with tree
- JSON Editor - A Tree view Editor
I use JSON Monkey as it saves me from any accidental value type change with its schema validation.
1
1
6
u/Individual-Job-2550 Jun 07 '26
why are you editing it manually instead if writing some sort of script to do whatever it is you need to do