json-view icon indicating copy to clipboard operation
json-view copied to clipboard

@JsonFormat support

Open celsogg opened this issue 5 years ago • 0 comments

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.

celsogg avatar Jun 26 '19 16:06 celsogg