Analog of method DeserializationConfig with(DateFormat df) in Jackson-databind 2.11.2

18 views
Skip to first unread message

Anastasiya Minich

unread,
Nov 17, 2021, 1:05:18 PM11/17/21
to jackson-user
Hi! Could you help me with the question about https://github.com/FasterXML/jackson-databind/blob/c45ed8c4cbf6c29317bf4cf562558884fa698eec/src/main/java/com/fasterxml/jackson/databind/DeserializationConfig.java#L364 ? Actually I try to upgrade version of jackson to 2.11.2, could you point me analog of the method( public DeserializationConfig with(DateFormat df) ) in version 2.11.2

Used in 2.8.9 version the next
ObjectMapper mapper = ObjectMapperProvider.getMapper(Config.newInstance()
.withoutPropertyNamingStrategy()
.writeEmptyArrays(true)
.writeNullMapValues(true));
mapper.setConfig(mapper.getDeserializationConfig().with(SIMPLE_DATE_FORMAT));

In 2.11.2 version in DeserializationConfig method with(DateFormat) is absent. Could you provide me analog in 2.11.2 version ? Thank you

Anastasiya Minich

unread,
Nov 19, 2021, 2:21:43 AM11/19/21
to jackson-user
Closed, don't need answer
Reply all
Reply to author
Forward
0 new messages