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 ef38891 commit 7b8ee83Copy full SHA for 7b8ee83
src/test/java/com/fasterxml/jackson/failing/POJONode3262Test.java
@@ -0,0 +1,19 @@
1
+package com.fasterxml.jackson.failing;
2
+
3
+import java.time.LocalDateTime;
4
5
+import com.fasterxml.jackson.databind.*;
6
7
+// [databind#3262]: not sure what could be done here
8
+public class POJONode3262Test extends BaseMapTest
9
+{
10
+ private final ObjectMapper MAPPER = newJsonMapper();
11
12
+ public void testAddJava8DateAsPojo() throws Exception
13
+ {
14
+ JsonNode node = MAPPER.createObjectNode().putPOJO("test", LocalDateTime.now());
15
+ String json = node.toString();
16
17
+ assertNotNull(json);
18
+ }
19
+}
0 commit comments