public class JacksonDecl<F extends com.fasterxml.jackson.databind.cfg.ConfigFeature> extends Object
| Constructor and Description |
|---|
JacksonDecl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFeatures(F... features)
添加特性
|
com.fasterxml.jackson.databind.module.SimpleModule |
getCustomModule()
获取定制模块
|
com.fasterxml.jackson.databind.ObjectMapper |
getMapper()
获取映射器
|
protected void |
refresh() |
void |
removeFeatures(F... features)
移除特性
|
void |
setFeatures(F... features)
设置特性(即重置特性)
|
void |
setMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
设置映射器
|
public com.fasterxml.jackson.databind.ObjectMapper getMapper()
public void setMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
public com.fasterxml.jackson.databind.module.SimpleModule getCustomModule()
public void setFeatures(F... features)
public void addFeatures(F... features)
public void removeFeatures(F... features)
protected void refresh()
Copyright © 2025. All rights reserved.