public class JacksonMapper extends Object implements JsonMapper
Constructor and Description |
---|
JacksonMapper(com.fasterxml.jackson.databind.ObjectMapper mapper) |
Modifier and Type | Method and Description |
---|---|
<T> T |
toObject(String json,
Type type) |
String |
toString(Object value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toList, toSingle
public JacksonMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
public <T> T toObject(String json, Type type)
toObject
in interface JsonMapper
T
- return typejson
- JSON inputtype
- typepublic String toString(Object value)
toString
in interface JsonMapper
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.