public interface ForestJsonConverter extends ForestConverter<String>, ForestEncoder
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
convertObjectToMap(Object obj)
将源对象转换为Map对象
|
String |
getDateFormat()
获取日期格式
|
ForestConverter |
setDateFormat(String format)
设置日期格式
|
convertToJavaObject, convertToJavaObject
encodeToString
Map<String,Object> convertObjectToMap(Object obj)
obj
- 源对象ForestConverter setDateFormat(String format)
format
- 日期格式化模板字符ForestConverter
接口实例String getDateFormat()
Copyright © 2020. All rights reserved.