@Test void canSerializeCalendar_no_time() { Calendar cal = GregorianCalendar.getInstance(); cal.set(1985, 6, 3, 0, 0, 0); cal.set(Calendar.MILLISECOND, 0); TestDates test = getCalendar(cal); String actual = om.writeValue(test); assertEquals("{\"calendar\":\"1985-07-03T00:00:00Z\"}", 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; }