4 ms·
TBF&H, when you say additional data formats such as dates, dates (including time) are the one format that would be great to have standardized in JSON, due to th
by DemocracyFTW2 3y ago
TBF&H, when you say additional data formats such as dates, dates (including time) are the one format that would be great to have standardized in JSON, due to their inherent complexity. A format for binary data is also missing, but that is downright trivial to do ad-hoc (string literals + encoding hint) when compared to datetimes.
- stkdump 3y agoI don't know, it is trivially simple to choose either Unix timestamp (which is relatively close to what MessagePack is doing) or JSs format [1] if you like a bit more readability and time zone deltas. Or any of the zillion more complex formats such as ISO 8601, etc. In my opinion that would be part of the schema and not the file format. [1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date#date_time_string_format https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...