Jonas Konrad

Results 118 comments of Jonas Konrad

you probably need to define the name explicitly if you use `@JsonProperty`.

oh duh, the issue is much more simple. since you define the property as READ_ONLY, it can't be deserialized. the error could be better but there is no functional change...

I would not call it a regression, I would call it finally having the right behavior :) AIUI, the record implementation changed a lot 2.14->2.15. It now uses most of...

normal beans behave the same way. this constructor: ```java @JsonCreator public Bean(@JsonProperty("foo") String foo, @JsonProperty(value = "bar", access = JsonProperty.Access.READ_ONLY) String bar) { ``` fails with ``` com.fasterxml.jackson.databind.exc.InvalidDefinitionException: Invalid type...

in my opinion, the docs read like mutators (including creators) that mutate READ_ONLY properties will not be called. and this leads to the exception you see.

Yes, it is not possible for jackson to deserialize an object if the creator/constructor would have to set a READ_ONLY property. That is reasonable behavior, it's just the error message...

I don't understand this bug report. We have passing tests for the management endpoint with jackson. Also your curl command is a GET, not a POST. And the error sounds...