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, wait
toList, toSingle
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.