←back to thread

Fixing JSON

(www.tbray.org)
139 points robin_reala | 1 comments | | HN request time: 0.233s | source
Show context
amyjess ◴[] No.12328277[source]
JSON is fine for what it was intended to be: a way to serialize fundamental data structures to disk or over the network.

If you want something optimized for human editing, such as for a configuration file or a DSL, we already have YAML for that. Hell, JSON is a valid subset of YAML, so you don't even need two parsers.

replies(1): >>12329624 #
1. alayne ◴[] No.12329624[source]
YAML including the entirety of JSON is not a positive argument in favor of YAML.