JsonProperty isn\'t overriding the default name jackson gets from the getter. If I serialize the class below with ObjectMapper and jackson I get
JsonProperty
ObjectMapper
I was missing databind dependency
com.fasterxml.jackson.core jackson-core ${fasterxml.version}