json-view
json-view copied to clipboard
@JsonFormat support
Hi,
We used to annotate date fields with @JsonFormat(shape = JsonFormat.Shape.STRING)
so dates are serialized to ISO string format in a spring project. Then we added json-view (great job! thank you) to get rid of lazy initializacion problems... but dates are now returned as numeric timestamp. We can solve this using custom serializer (which is already supported) in each field...
Anyway, it would be great in a future not to force make those changes in the actual codebase.