2 ms·
I'm kinda curious what's so difficult about writing JSON. I imagine it's quite subjective, but I've found the explicit bit of JSON to be nice. My editor is go
by ihumanable 3y ago
I'm kinda curious what's so difficult about writing JSON. I imagine it's quite subjective, but I've found the explicit bit of JSON to be nice. My editor is going to spit out matching brackets, quotes, braces, etc.
I think, at least for me, when I'm writing JSON in a document I can just go "I need a map, type `{`" and "I need a list, type `[`" and I like that.
I think my biggest gripe with YAML, TOML, etc is that to save me a few keystrokes I often end up playing this game of "Ok now how will the library interpret this, I'm adding a line here, it's indented, let me scroll up, ok, the last logical thing that happened was X so it's going to interpret this as a list item..." and that feels so taxing to me.