Skip to content

Commit c60b5c3

Browse files
committed
Use correct import for Jackson 3 serializer.
We erroneously used a Jackson 2 import instead of a Jackson 3 one. Closes #3228
1 parent c9a7f1b commit c60b5c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/springframework/data/redis/serializer/GenericJackson3JsonRedisSerializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import tools.jackson.core.JsonGenerator;
2020
import tools.jackson.core.JsonParser;
2121
import tools.jackson.core.JsonToken;
22+
import tools.jackson.core.TreeNode;
2223
import tools.jackson.core.Version;
2324
import tools.jackson.databind.DefaultTyping;
2425
import tools.jackson.databind.DeserializationConfig;
@@ -59,7 +60,6 @@
5960
import org.springframework.util.StringUtils;
6061

6162
import com.fasterxml.jackson.annotation.JsonTypeInfo;
62-
import com.fasterxml.jackson.core.TreeNode;
6363

6464
/**
6565
* Generic Jackson 3-based {@link RedisSerializer} that maps {@link Object objects} to and from {@literal JSON}.

0 commit comments

Comments
 (0)