jackson-databind
jackson-databind copied to clipboard
Inverse access of `@JsonProperty(access=)` so it can work differently on server side and client side
@JsonProperty's access mode should be inversed on server side and client side when both sides are sharing the same module class.
when using access = READ_ONLY with @JsonProperty, on the server side, that means property need to be serialized but can't be deserialized. but on the client side, the same property should be able to be deserialized but not to be serialized.
Is it good to have an out-of-box feature to do this inversion?