3 ms·
JSON doesn't support a Date/Time object because it's a data format. XML doesn't support a Date/Time object either. XML doesn't support objects, but there was e
by corresation 14y ago
JSON doesn't support a Date/Time object because it's a data format. XML doesn't support a Date/Time object either.
XML doesn't support objects, but there was enough thought put into the implementation that it has an easy way to document and define the types, with validated ways of representation. ISO 8601 for the xsd:dateTime, for instance. There is no ambiguity or uncertainty, no hand-rolled varieties of crazy, quite unlike JSON world where there are a hundred ways to represent a date or date/time, all of them broken in some way or other.