4 ms·
It's been so long since being part of a debate cycle about whether a piece of data was an 'attribute' or an 'element' in XML. I had forgotten how much angst was
by thadt 4y ago
It's been so long since being part of a debate cycle about whether a piece of data was an 'attribute' or an 'element' in XML. I had forgotten how much angst was eliminated when JSON came along like some kind of uncivilized philistine and just didn't have attributes.
- ivan_gammel 4y agoIn JSON everything that is not map or array is effectively an attribute. It is perfectly possible to use the same logic when defining XML schema.