Jackson doesn't handle my boolean fields with a has
getter method. For example animal.hasLegs()
, for the legs
field returns a JSON object without the legs
field. It does work with the is
getter method (person.isAwesome()
for the boolean field awesome
).
How can I make Jackson use the has
method naming convention for boolean fields?