Skip to content

Set @JsonProperty in generated POJOs for proper serialization #258

@yuranos

Description

@yuranos

For some of our external providers we need to be able to retail property names that contain special characters like dots. For example:
"payment.method" : "SOME_PAYMENT_METHOD"

For that to work, we want to add a configuration flag called retainPropertyName, for example and add @JsonProperty to POJOs based on that. I think there's something similar for Enums at the moment.

@stojsavljevic, please let me know if you have any concerns or there's another way to do it.

@vpashynskyi is already working on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugv2Feature will be implemented in v2.0 only (master branch)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions