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

Add support for @JsonPropert(access) to fine control (de)serialized properties #57

Open
vegegoku opened this issue Dec 21, 2021 · 0 comments
Labels

Comments

@vegegoku
Copy link
Member

  public enum Access {
    /**
     * Access setting which means that visibility rules are to be used to automatically determine
     * read- and/or write-access of this property.
     */
    AUTO,

    /**
     * Access setting that means that the property may only be read for serialization, but not
     * written (set) during deserialization.
     */
    READ_ONLY,

    /**
     * Access setting that means that the property may only be written (set) for deserialization,
     * but will not be read (get) on serialization, that is, the value of the property is not
     * included in serialization.
     */
    WRITE_ONLY,

    /**
     * Access setting that means that the property will be accessed for both serialization (writing
     * out values as external representation) and deserialization (reading values from external
     * representation), regardless of visibility rules.
     */
    READ_WRITE;
  }
@vegegoku vegegoku added this to the 1.0 milestone Dec 21, 2021
@vegegoku vegegoku removed this from the 1.0 milestone Nov 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant