Package io.keikai.util
Class XlsxJsonHelper
- java.lang.Object
-
- io.keikai.util.XlsxJsonHelper
-
public class XlsxJsonHelper extends Object
Xlsx Json Helper- Author:
- jumperchen
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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 List
toList(Object jsonMap, String key)
static <T> List<T>
toList(Map jsonMap, String key, Class cls)
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)
-