3 ms·
> Storing a date as an ISO UTC by default and sharing it with Json needed layer upon layer of code. Storing it in a database, I assume? It feels like your did
by nitwit005 2y ago
> Storing a date as an ISO UTC by default and sharing it with Json needed layer upon layer of code.
Storing it in a database, I assume?
It feels like your didn't like a framework instead of Java. "Manually" parsing JSON, parsing a date, and inserting into a DB really only needs a couple of lines. Assuming you've set up HTTP and DB libraries, of course.
I agree that maven and gradle are annoying, but I've never liked any build tool I've ever used.
- vips7L 2y agoYeah AFAIK every orm will easily store an Instant/Date/LocalDateTime pretty easily into a database. And serializing them with any JSON library just works out of the box.