4 ms·
JSON requires too much escaping to be reasonable to edit by hand in many cases. TOML is only marginally better. With any significant level of nesting TOML star
by nucleardog 3y ago
JSON requires too much escaping to be reasonable to edit by hand in many cases. TOML is only marginally better.
With any significant level of nesting TOML starts to obscure the structure more than it helps anything.
I tend to start with a basic K=V (“dotenv”) format. Past that though I’m going straight to YAML.
I agree that the “everything and the kitchen sink” specification is ridiculous and rarely (if ever) use much of the functionality, but as far as representing arbitrary structured data in human readable and editable text… it sucks less than the alternatives if you stay away from the weird stuff.