public class GsonMapper extends JsonMapper
| Constructor and Description |
|---|
GsonMapper(com.google.gson.Gson gson) |
public <T> T toObject(String json, Type type)
T - return typejson - JSON inputtype - typepublic String toString(Object value)
toString in class JsonMapperpublic <T> T fromJson(Object json, Type type)
fromJson in class JsonMapperpublic byte[] toJson(Object value)
toJson in class JsonMapperCopyright © 2020 Pivotal Software, Inc.. All rights reserved.