Class JacksonObjectMapper
- java.lang.Object
-
- de.adorsys.xs2a.adapter.impl.http.JacksonObjectMapper
-
- All Implemented Interfaces:
JsonMapper
public class JacksonObjectMapper extends Object implements JsonMapper
-
-
Constructor Summary
Constructors Constructor Description JacksonObjectMapper()JacksonObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TconvertValue(Object value, Class<T> klass)com.fasterxml.jackson.databind.ObjectMappercopyObjectMapper()<T> TreadValue(InputStream inputStream, Class<T> klass)<T> TreadValue(String s, Class<T> klass)StringwriteValueAsString(Object value)
-
-
-
Method Detail
-
writeValueAsString
public String writeValueAsString(Object value)
- Specified by:
writeValueAsStringin interfaceJsonMapper
-
readValue
public <T> T readValue(InputStream inputStream, Class<T> klass)
- Specified by:
readValuein interfaceJsonMapper
-
readValue
public <T> T readValue(String s, Class<T> klass)
- Specified by:
readValuein interfaceJsonMapper
-
convertValue
public <T> T convertValue(Object value, Class<T> klass)
- Specified by:
convertValuein interfaceJsonMapper
-
copyObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper copyObjectMapper()
-
-