public abstract class Json extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
datePattern
Json 继承类优先使用对象级的属性 datePattern, 然后才是全局性的 defaultDatePattern
|
Constructor and Description |
---|
Json() |
Modifier and Type | Method and Description |
---|---|
String |
getDatePattern() |
String |
getDefaultDatePattern() |
static Json |
getJson() |
abstract <T> T |
parse(String jsonString,
Class<T> type) |
Json |
setDatePattern(String datePattern) |
abstract String |
toJson(Object object) |
Copyright © 2018. All rights reserved.