USACE / cwms-data-api

Corps Water Management System RESTful Data Service
MIT License
9 stars 13 forks source link

DTO and serialization for Time Zones #703

Closed RyanM-RMA closed 1 week ago

RyanM-RMA commented 2 weeks ago

Adding DTO and serialization process for time zones, so we can use the newer java json/xml serialization/deserialization

Fixes #499

rma-rripken commented 2 weeks ago

Can we get a unit test of just the TimeZone DTO serialization by itself? Include a json or xml example file.

rma-rripken commented 1 week ago

I'd like to see a resource file with an example of the serialized format.

RyanM-RMA commented 1 week ago

oh, actually I should also get a test for the List in there too, since that's what we're serializing with getAll. I totally meant to do that.