Hacker News new | ask | show | jobs
by timmclean 3948 days ago
I prototyped almost exactly this a couple years ago: https://www.timmclean.net/json-editor/

I haven't had time to come back to it, so I'm very glad to see that other people are working on the idea!

1 comments

This is not half bad as structural interaction goes. Kudos! It took me a while to figure out how to add a new node, but once I did find the O command, it all made sense.

It still feels like a lot of work to get something written since you have to type "EscOPS<text>EscJT" to add "foo":true, instead of just cursor over to a place and just type exactly that string. However, I can see how one could get use to that much as how vim users are used to all those arcane keychords for basic navigation. Also, there's no reason a command string cannot be made into a macro.

Do you plan to open source this at all? Seems like a good start for someone to take and add on to.

Edit: found your github, nm.