2 ms·
It should be maintained as a numeric scalar until you are going to do something with the value... and if you are going to do something with the value, you shoul
by cortesoft 7y ago
It should be maintained as a numeric scalar until you are going to do something with the value... and if you are going to do something with the value, you should know if it is a date or not.
JSON isn't meant to be self-describing format. There is JSON schema or the like if that is what you are after.
- stickfigure 7y agoJSON isn't meant to be self-describing format. And yet to a very large extent, it is. Strings, numbers, booleans, arrays, and associative maps made the cut. Timestamps would be a pretty reasonable addition. It would certainly cut out all the controversy here.