public interface JsonMapper
| Modifier and Type | Method and Description |
|---|---|
default <T> List<T> |
toList(String json,
Class<T> type)
Deprecated.
since v2.0 in favor of
toObject(String, Type) |
<T> T |
toObject(String json,
Type type) |
default <T> T |
toSingle(String json,
Class<T> type)
Deprecated.
since v2.0 in favor of
toObject(String, Type) |
String |
toString(Object value) |
@Deprecated default <T> List<T> toList(String json, Class<T> type)
toObject(String, Type)T - type for list argumentsjson - JSON inputtype - type of list arguments<T> T toObject(String json, Type type)
T - return typejson - JSON inputtype - typedefault <T> T toSingle(String json, Class<T> type)
toObject(String, Type)T - type for list argumentsjson - JSON inputtype - type of list argumentsCopyright © 2020 Pivotal Software, Inc.. All rights reserved.