You are not logged in.

#1 2018-01-06 20:30:42

phunni
Member
From: Bristol, UK
Registered: 2003-08-13
Posts: 794

Looking for a JSON editor that can pretty and unpretty print

I want to edit some save game files and I need a JSON editor (preferably not an in browser one) that can pretty print - for editing - and then "un-pretty" print as the game in question requires files to be completely "minified"

I've googled, but most options seem to be in browser and I've had issues with those actually writing files to disk for some reason.

Offline

#2 2018-01-06 21:32:59

progandy
Member
Registered: 2012-05-17
Posts: 5,307

Re: Looking for a JSON editor that can pretty and unpretty print

I don't know any readymade editor, but you can use jq to reformat your json ad then use any texteditor. With vim and emacs you should even be able to add commands to prettify/minify the displayed json.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB