public class JSONValueMapper extends Object
null| 构造器和说明 |
|---|
JSONValueMapper(JSONConfig jsonConfig)
构造
|
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
map(Object object)
在需要的时候转换映射对象
包装包括: array or collection =》 JSONArray map =》 JSONObject standard property (Double, String, et al) =》 原对象 来自于java包 =》 字符串 其它 =》 尝试包装为JSONObject,否则返回 null
|
static JSONValueMapper |
of(JSONConfig jsonConfig)
创建ObjectMapper
|
public JSONValueMapper(JSONConfig jsonConfig)
jsonConfig - JSON配置public static JSONValueMapper of(JSONConfig jsonConfig)
jsonConfig - 来源对象Copyright © 2024. All rights reserved.