3 ms·
I prefer JSON as it is really simple
by dongdongzhang 2y ago
I prefer JSON as it is really simple
- JKCalhoun 2y agoI prefer JSON as there are libraries for it on every platform and for every language I've needed it.
- cryptonector 2y agoI prefer jq.
- cryptonector 2y agoI should have been clearer. jq is a programming language, but it's also a data language in that a) valid JSON is a valid jq program, b) you can construct JSON data trivially with jq. E.g., : ; jq -n ' .users[0].name="John" | .users[1].name="Jane" ' or : ; jq -n ' .users = [] | .users += [{}|.name = "John"] | .users += [{}|.name = "Jane"] ' but you can make it much much richer than that.
- GeneThomas 2y agoirrelevant