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

SQL php on different pages to Insert (mysqli) -

How to combine associative arrays in bash? -

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