Closed
Description
umesha balasubramaniam opened SPR-13765 and commented
The javadoc for Jackson2ObjectMapperFactoryBean has an error when it describes the how to set the featuresEnabled property. The documentation incorrectly describes using the $ syntax to refer to the enum value:
<util:constant static-field="com.fasterxml.jackson.databind.SerializationFeature$WRAP_ROOT_VALUE"/>
<util:constant static-field="com.fasterxml.jackson.databind.SerializationFeature$CLOSE_CLOSEABLE"/>
<util:constant static-field="com.fasterxml.jackson.databind.MapperFeature$USE_ANNOTATIONS"/>
It should use the dot syntax:
<util:constant static-field="com.fasterxml.jackson.databind.SerializationFeature.WRAP_ROOT_VALUE"/>
<util:constant static-field="com.fasterxml.jackson.databind.SerializationFeature.CLOSE_CLOSEABLE"/>
<util:constant static-field="com.fasterxml.jackson.databind.MapperFeature.USE_ANNOTATIONS"/>
Affects: 3.2.15, 4.1.8, 4.2.3