2 ms·
> I don't quite see why you can't do the same with xml; maybe it needs some more typing, but it is expressing the same thing. It's not idiomatic though - the d
by lmm 10y ago
> I don't quite see why you can't do the same with xml; maybe it needs some more typing, but it is expressing the same thing.
It's not idiomatic though - the dog's paws aren't "healths". The point is that in XML each tag is expected to have a label and be an entity in its own right, whereas in JSON you expect each field to be an attribute.