Improved format and added minify (in response to #24). Format is called when paste (the way it was) and also the are now two new options on the edit menu: Format and Minify.
Format: I used js-beautify with custom options so the result is the same with the old ways but keeps comments. (There are some differences on the arrays of strings, but I think it's for the best.)
Minify: In case the json is needed to be exported without all those spaces.
EDIT:
(There are some differences on the arrays of strings, but I think it's for the best.)
Realized just now that you were talking about this in #24 :)
Improved format and added minify (in response to #24). Format is called when paste (the way it was) and also the are now two new options on the edit menu: Format and Minify.
Format: I used
js-beautify
with custom options so the result is the same with the old ways but keeps comments. (There are some differences on the arrays of strings, but I think it's for the best.)Minify: In case the json is needed to be exported without all those spaces.
EDIT:
Realized just now that you were talking about this in #24 :)