Re:JSON5 – JSON for Humans
by kylelahnakoski on Sunday December 08, 2024 @06:31PM
(#42361684)
Hjson!
Re:JSON5 – JSON for Humans
by ianbicking on Sunday December 08, 2024 @07:27PM
(#42361996)
Oh! Format preserving editing too, very nice... https://github.com/hjson/hjson-js?tab=readme-ov-file#modify-...
The one thing I really wish it had was some form of multi-line string, mostly so I could use it with line diffs. Also sometimes for really simple property editors it's nice to put the serialization in a textarea, and that works fine for everything but multiline strings.
(I suppose you can escape newline characters to put a string on multiple lines, but I find that rather inhumane and fragile)