public class OpflowJsontool extends Object
| Constructor and Description |
|---|
OpflowJsontool() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
extractField(String json,
String fieldName,
Class<T> type) |
static int |
extractFieldAsInt(String json,
String fieldName) |
static <T> T |
toObject(OpflowMessage message,
Class<T> type) |
static <T> T |
toObject(String json,
Class<T> type) |
static Object[] |
toObjectArray(String arrayString,
Class[] types) |
static Map<String,Object> |
toObjectMap(String json) |
static String |
toString(Map<String,Object> jsonMap) |
static String |
toString(Object jsonObj) |
public static <T> T toObject(OpflowMessage message, Class<T> type)
Copyright © 2017. All rights reserved.