Groups
Groups
Sign in
Groups
Groups
jackson-user
Conversations
Labels
About
Send feedback
Help
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 PM
11/17/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
11/19/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jackson-user
Closed, don't need answer
Reply all
Reply to author
Forward
0 new messages