Skip to content

@JsonFormat support #67

@celsogg

Description

@celsogg

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions