5 ms·
I've also been surprised that there are no JSON editors that are both powerful and attractive. The one that comes closest in my experience is http://www.jsonedi
by drewda 10y ago
I've also been surprised that there are no JSON editors that are both powerful and attractive. The one that comes closest in my experience is http://www.jsoneditoronline.org/ http://www.jsoneditoronline.org/ but I'd appreciate pointers to any others.
Unlike XML and UML, there's just less of a market for GUI-like editors for JSON?
- jerf 10y agoYou know, I don't really edit JSON very often. Generate and consume it by the gigabyte, sure, but I'm not actually editing it.
- TMSZ 10y agoDifferent uses I guess. I'm using JSON for configuration purposes (~100kB...4MB PABX config, but Azure seems to be more popular example) and it's read-modify-update cycle > 95% of the time.
- tracker1 10y agoI found one (windows based) a while back, but cannot for the life of me remember the name... really liked it. It was similar to XML Notepad from MS, but for JSON. Unfortunately the name of it was NOT "JSON Notepad" which would have made it far easier to find again. :-( Something that would also be nice, if anyone comes up with such a beast would be the ability to edit a multi-record json file... effectively each line is a single JSON, and an LF at the end of each line/record. I've used this structure a few times. Given that JSON will typically encode special characters allowing for single-line representation by default, it's worked really well, especially combined with gzip as a stream for archiving data. If anyone knows what that program was, would love to find it again.
- TMSZ 10y agoI hope this would be JSONedit as it is mine ;) - http://tomeko.net/software/JSONedit/ http://tomeko.net/software/JSONedit/ There are also - I think two different - plugins for Notepad++, JsonViewer: https://jsonviewer.codeplex.com/ https://jsonviewer.codeplex.com/, commercial: XMLSpy and JSONBuddy and one or two half-baked projects on codeproject.
- tracker1 10y agoThat may well have been it, thanks. Will need to get WINE setup, so I can give it a try. Tweeted it... It's funny, but I often use twitter to tweet about stuff, just so that I can find them later.
- chriswarbo 10y agoA word of caution: some editors will choke on large files or, in particular, long lines. Opening a one-line JSON file of a few MB in Emacs can be painful. The editor struggles to handle the long line and the matching-parenthesis-highlighter runs its stack machine down the whole length looking for the closing delimiter. There are ways to avoid this, like pretty-printing the JSON across multiple lines, or forcing fundamental-mode when large files are opened, but I still haven't set these up as default.
- TMSZ 10y ago(Emacs) That's weird. Smart editor should render only portion visible to user and number of lines should not make any difference for highlighter. I've checked Scintilla with 3MB single-line JSON and using C++ lexer (actually: "Lexer for C++, C, Java, and JavaScript") and it has no problems except for some lack of fluency when scrolling horizontally.
- was8309 10y agoi've been happy with using Jeremy Dorn's as a start : https://github.com/jdorn/json-editor https://github.com/jdorn/json-editor
- abraae 10y agojdorn's (awesome) tool is a dynamic UI builder where the fields, headings, constraints are pulled from a json schema document (which is also a json document). I believe the question was about good editors for json documents.