public class GsonMapper extends Object implements JsonMapper
| Constructor and Description |
|---|
GsonMapper(com.google.gson.Gson gson) |
| 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, waittoList, toSinglepublic <T> T toObject(String json, Type type)
toObject in interface JsonMapperT - return typejson - JSON inputtype - typepublic String toString(Object value)
toString in interface JsonMapperCopyright © 2020 Pivotal Software, Inc.. All rights reserved.