by eknkc · 1y ago · 0 comments
All I miss in JSON are comments and a native datetime type. Everything else, I’m fine with.
JavaScript certainly doesn't.
(Reference: https://youtu.be/y8OnoxKotPQ)
Make it raw ISO 8601 { "created_at": 2024-12-10T11:20:07Z } and do not accept any other format. I know there are way smarter people than me who can figure this out at this point.
DateTimes are the number 1 reason I can not use JSON data as is (if I simply parse it into a dynamic object like JSON.parse).