Skip to content

Serialization of Transient fields with public getters not happening #573

@rohitbansal03

Description

@rohitbansal03

In reference to: #296

Recently I upgraded fasterxml version from 2.0.0 to 2.3.3 and with this, facing a major impacting change throughout the application. The @transient fields with public getters were serialized before, but now none of these is being serialized.

With above change, I would have to create explicitly @JsonProperty over getters of each and every transient field to be able to serialize as before. Looking for a better approach or some flag in SerializationFeature to be able to do this.

Any help appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions