We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c19e363 commit d59a4f0Copy full SHA for d59a4f0
mrbean/src/test/java/com/fasterxml/jackson/module/mrbean/TestJDKTypes.java
@@ -1,5 +1,6 @@
1
package com.fasterxml.jackson.module.mrbean;
2
3
+import java.io.Serializable;
4
import java.util.*;
5
6
import com.fasterxml.jackson.databind.ObjectMapper;
@@ -53,4 +54,12 @@ public void testStringLike() throws Exception
53
54
CharSequence seq = MAPPER.readValue(quote("abc"), CharSequence.class);
55
assertEquals("abc", (String) seq);
56
}
57
+
58
+ // [modules-base#74]: more types to skip
59
+ public void testSerializable() throws Exception
60
+ {
61
+// Serializable value = MAPPER.readValue(quote("abc"), Serializable.class);
62
+ Serializable value = new ObjectMapper().readValue(quote("abc"), Serializable.class);
63
+ assertEquals("abc", (String) value);
64
+ }
65
0 commit comments