public abstract class JsonMapper extends Object
| Constructor and Description |
|---|
JsonMapper() |
| Modifier and Type | Method and Description |
|---|---|
abstract <T> T |
fromJson(Object json,
Type type) |
static boolean |
isJsonString(Object value)
Performs a simple validation on an object to see if it appears to be a JSON string.
|
byte[] |
toJson(Object value) |
abstract String |
toString(Object value) |
public byte[] toJson(Object value)
public static boolean isJsonString(Object value)
value - candidate object to evaluateCopyright © 2020 Pivotal Software, Inc.. All rights reserved.