←back to thread

Fixing JSON

(www.tbray.org)
139 points robin_reala | 1 comments | | HN request time: 0.205s | source
Show context
tootie ◴[] No.12327768[source]
If you did all of that you'd still fall way short of what you have been able to do with XML for probably 10 years. XSD defines structure in terms of inheritance, composition, strong types, numerical ranges, enumerations, referential integrity, namespaces.
replies(3): >>12327878 #>>12327879 #>>12329566 #
stouset ◴[] No.12327878[source]
Raise your hand if you miss hand-editing or reading XML.
replies(2): >>12328096 #>>12328137 #
1. tootie ◴[] No.12328137[source]
Raising hand. If your IDE understands XSD, it is far easier to do than JSON. Tab completion on all your fields and instant validation of values.