@Test public void testSqlTimestampSerialization() throws Exception { JsonApiMapper jsonApiMapper = new JsonApiMapper(); ObjectMapper mapper = jsonApiMapper.getObjectMapper(); String result = mapper.writeValueAsString(new java.sql.Timestamp(0)); assertEquals("\"1970-01-01T00:00Z\"", result); }
public ObjectMapper getObjectMapper() { return mapper; }
JsonApiMapper { public ObjectMapper getObjectMapper() { return mapper; } }
JsonApiMapper { public ObjectMapper getObjectMapper() { return mapper; } JsonApiMapper();  JsonApiMapper(ObjectMapper mapper); @Deprecated  JsonApiMapper(EntityDictionary dictionary); @Deprecated  JsonApiMapper(EntityDictionary dictionary, ObjectMapper mapper); }
JsonApiMapper { public ObjectMapper getObjectMapper() { return mapper; } JsonApiMapper();  JsonApiMapper(ObjectMapper mapper); @Deprecated  JsonApiMapper(EntityDictionary dictionary); @Deprecated  JsonApiMapper(EntityDictionary dictionary, ObjectMapper mapper); String writeJsonApiDocument(JsonApiDocument jsonApiDocument); JsonNode toJsonObject(JsonApiDocument jsonApiDocument); String writeJsonApiDocument(JsonNode node); JsonApiDocument readJsonApiDocument(String doc); JsonApiDocument readJsonApiDocument(JsonNode node); JsonApiDocument readJsonApiPatchExtValue(JsonNode value); List<Patch> readJsonApiPatchExtDoc(String doc); ObjectMapper getObjectMapper(); }
JsonApiMapper { public ObjectMapper getObjectMapper() { return mapper; } JsonApiMapper();  JsonApiMapper(ObjectMapper mapper); @Deprecated  JsonApiMapper(EntityDictionary dictionary); @Deprecated  JsonApiMapper(EntityDictionary dictionary, ObjectMapper mapper); String writeJsonApiDocument(JsonApiDocument jsonApiDocument); JsonNode toJsonObject(JsonApiDocument jsonApiDocument); String writeJsonApiDocument(JsonNode node); JsonApiDocument readJsonApiDocument(String doc); JsonApiDocument readJsonApiDocument(JsonNode node); JsonApiDocument readJsonApiPatchExtValue(JsonNode value); List<Patch> readJsonApiPatchExtDoc(String doc); ObjectMapper getObjectMapper();  }