java - Why does Jackson require ALWAYS visibility to detect multi-arguments setters? -


with jsonautodetect.visibility set always, setter multiple arguments correctly invoked during deserialization.

public void setsize(         @jsonproperty("width") integer width,          @jsonproperty("height") integer height) {     super.setwidth(width);     super.setheight(height); } 

if i, on other hand, try limit visibility of setters, settervisibility = visibility.none, setter not used though explicitely flag @jsonsetter.

how can behavior explained? why jackson-275 seem imply there no support multi argument setters while visibility level support there?


Comments

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -