Jet is a structural editor for JSON.
I.e. an editor which is aware of the structure of JSON and allows you to manipulate it directly. The document is always in a valid state.
https://user-images.githubusercontent.com/6439644/143655548-3c556ea8-7673-4439-8624-15b4b503001f.mov
Press ? to see the key map, which should feel familiar to vim users.
cabal update && cabal install jet
# Open a file for editing. Use ctrl-s to save back to the file.
# The edited file is output to stdout even if unsaved.
jet myfile.json
# Using jet in a pipeline for quick in-line edits.
cat myfile.json | jet > result.json
57 commits
Haskell
100.0%
Jet is a structural editor for JSON.
I.e. an editor which is aware of the structure of JSON and allows you to manipulate it directly. The document is always in a valid state.
https://user-images.githubusercontent.com/6439644/143655548-3c556ea8-7673-4439-8624-15b4b503001f.mov
Press ? to see the key map, which should feel familiar to vim users.
cabal update && cabal install jet
# Open a file for editing. Use ctrl-s to save back to the file.
# The edited file is output to stdout even if unsaved.
jet myfile.json
# Using jet in a pipeline for quick in-line edits.
cat myfile.json | jet > result.json
57 commits
Haskell
100.0%