@Test void canSerializeLocalDateTimes() { LocalDateTime zonedDt = LocalDateTime.parse("1985-07-03T18:00:00.042"); TestDates test = new TestDates(); test.setLocalDateTime(zonedDt); String actual = om.writeValue(test); assertEquals("{\"localDateTime\":\"1985-07-03T18:00:00.042\"}", actual); }
@Override public String writeValue(Object value) { return getGson().toJson(value); }
JsonObjectMapper implements ObjectMapper { @Override public String writeValue(Object value) { return getGson().toJson(value); } }
JsonObjectMapper implements ObjectMapper { @Override public String writeValue(Object value) { return getGson().toJson(value); }  }
JsonObjectMapper implements ObjectMapper { @Override public String writeValue(Object value) { return getGson().toJson(value); }  @Override T readValue(String value, Class<T> valueType); @Override T readValue(String value, GenericType<T> genericType); @Override String writeValue(Object value); }
JsonObjectMapper implements ObjectMapper { @Override public String writeValue(Object value) { return getGson().toJson(value); }  @Override T readValue(String value, Class<T> valueType); @Override T readValue(String value, GenericType<T> genericType); @Override String writeValue(Object value); static final String ISO_8601; }