Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@JsonFormat support #67

Open
celsogg opened this issue Jun 26, 2019 · 0 comments
Open

@JsonFormat support #67

celsogg opened this issue Jun 26, 2019 · 0 comments

Comments

@celsogg
Copy link

celsogg commented Jun 26, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant