From 81a80c4c5012d931dda742d8eb9f236ea763a9d3 Mon Sep 17 00:00:00 2001 From: pipinet Date: Mon, 9 Oct 2023 16:41:13 +0800 Subject: [PATCH] feat: add jackson string process module --- .../java/com/qwlabs/jackson/datatype/StringProcessModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jackson/src/main/java/com/qwlabs/jackson/datatype/StringProcessModule.java b/jackson/src/main/java/com/qwlabs/jackson/datatype/StringProcessModule.java index ded18be..d8f2293 100644 --- a/jackson/src/main/java/com/qwlabs/jackson/datatype/StringProcessModule.java +++ b/jackson/src/main/java/com/qwlabs/jackson/datatype/StringProcessModule.java @@ -16,6 +16,6 @@ public Version version() { @Override public void setupModule(SetupContext setupContext) { - setupContext.addDeserializers(new StringProcessDeserializers()); + setupContext.addDeserializers(StringProcessDeserializers.INSTANCE); } }