News for hackers. Stuff that matters.
Re:Hjson, the Human JSON by duaneb on Thursday April 14, 2016 @11:58PM (#11502005)
Well, it'd need to cover dates, times with time zones, date times with time zones, times without time zones, date times without time zones. Seems better pegged to the data source without thinking it out clearly.
Re:Hjson, the Human JSON by emodendroket on Friday April 15, 2016 @10:02AM (#11504323)
So? It's not like this is a complex problem nobody knows how to solve.
Re:Hjson, the Human JSON by duaneb on Friday April 15, 2016 @10:19AM (#11504472)
Agreed! But it's not so simple to just add a "date" type; it would add significant complexity to a relatively simple text format.
Re:Hjson, the Human JSON by emodendroket on Friday April 15, 2016 @10:53AM (#11504776)
Yeah, I guess, but everyone ends up implementing it anyway; the problem is they all do it in an idiosyncratic way (and one that is ambiguous... after all, maybe I really wanted that to be a string).