public class XlsxJsonHelper extends Object
Modifier and Type | Method and Description |
---|---|
static <T> T |
$(Map map,
String... paths) |
static <T> T |
$1(Map map,
String path) |
static <T> T |
$x(Map map,
String xpath) |
static String[] |
getParts(String text) |
static Object |
getValue(Map jsonMap,
String key) |
static Boolean |
toBool(Map jsonMap,
String key) |
static Boolean |
toBool(Map jsonMap,
String key,
Boolean nullAs) |
static Boolean |
toBoolean(Object val,
Boolean nullAs) |
static Double |
toDouble(Map jsonMap,
String key) |
static Double |
toDouble(Map jsonMap,
String key,
Double nullAs) |
static Float |
toFloat(Map jsonMap,
String key) |
static Integer |
toInt(Map jsonMap,
String key) |
static Integer |
toInt(Map jsonMap,
String key,
Integer nullAs) |
static <T> List<T> |
toList(Map jsonMap,
String key,
Class cls) |
static List |
toList(Object jsonMap,
String key) |
static Long |
toLong(Map jsonMap,
String key) |
static Long |
toLong(Map jsonMap,
String key,
Long nullAs) |
static Number |
toNum(Map jsonMap,
String key) |
static String |
toStringValue(Map jsonMap,
String key) |
static String |
toStringValue(Map jsonMap,
String key,
String nullAs) |
static <T> T |
toValue(Map jsonMap,
String key) |
Copyright © 2020. All rights reserved.