Closed kagmole closed 4 years ago
Hi,
Yes, deserialization will require some business logic to get back the value class from the string, as usual I would say. :^)
It will follow the serialization as if one was using Jackson.
While it is not part of JSR-310, it is quite common that Java JSON API's return dates in ISO formats using Jackson.
Closing the issue as it was resolved with #19.
It would be nice if value classes had a support for JSON serialization into ISO strings by implementing
JsonSerializable
.Most, if not all,
jsonSerialize
implementations would just be proxies of__toString
.So my questions are: