3 ms·
The only added value I see is the schema, but is the schema relevant at all? I mean, JSON documents are parsed by clients, and the robustness principle implies
by rumanator 7y ago
The only added value I see is the schema, but is the schema relevant at all? I mean, JSON documents are parsed by clients, and the robustness principle implies that the client is free to follow any schema that they see fit.
https://en.wikipedia.org/wiki/Robustness_principle https://en.wikipedia.org/wiki/Robustness_principle
Other than this, other document formats such as TOML haven't seen much action in spite of being arguably simpler and requiring less data than JSON.
- Mikhail_Edoshin 7y agoJSON is also sent back by clients to server and the principle there is "don't trust the client", so any way to mechanically validate at least the syntax would be helpful.