public class GsonMapper extends Object implements JsonMapper
| Constructor and Description |
|---|
GsonMapper(com.google.gson.Gson gson) |
public <T> List<T> toList(String json, Class<T> type)
toList in interface JsonMapperpublic <T> T toSingle(String json, Class<T> type)
toSingle in interface JsonMapperpublic String toString(Object value)
toString in interface JsonMapperCopyright © 2019 Pivotal Software, Inc.. All rights reserved.