Package com.jalios.jcms.json
Class ObjectMapperBuilder
- java.lang.Object
-
- com.jalios.jcms.json.ObjectMapperBuilder
-
public class ObjectMapperBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ObjectMapperBuilder()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectMapperBuilder
addExcludedProperties(java.lang.Class clazz, java.lang.String... properties)
ObjectMapperBuilder
addIncludedProperties(java.lang.Class clazz, java.lang.String... properties)
ObjectMapperBuilder
excludeAllProperties()
protected static java.text.DateFormat
getDateFormat()
com.fasterxml.jackson.databind.ObjectMapper
getMapper()
ObjectMapperBuilder
ignoreDefaultDataConfiguration()
ObjectMapperBuilder
replaceDefaultJsonConfiguration(java.lang.Class clazz, JsonConfiguration jsonConf)
ObjectMapperBuilder
setDateFormat(java.lang.String... formats)
ObjectMapperBuilder
setDateFormat(java.text.DateFormat dateFormat)
ObjectMapperBuilder
setJcmsDataSerializerMaxDepth(int maxDepth)
-
-
-
Method Detail
-
excludeAllProperties
public ObjectMapperBuilder excludeAllProperties()
-
setJcmsDataSerializerMaxDepth
public ObjectMapperBuilder setJcmsDataSerializerMaxDepth(int maxDepth)
-
setDateFormat
public ObjectMapperBuilder setDateFormat(java.text.DateFormat dateFormat)
-
setDateFormat
public ObjectMapperBuilder setDateFormat(java.lang.String... formats)
-
ignoreDefaultDataConfiguration
public ObjectMapperBuilder ignoreDefaultDataConfiguration()
-
replaceDefaultJsonConfiguration
public ObjectMapperBuilder replaceDefaultJsonConfiguration(java.lang.Class clazz, JsonConfiguration jsonConf)
-
addIncludedProperties
public ObjectMapperBuilder addIncludedProperties(java.lang.Class clazz, java.lang.String... properties)
-
addExcludedProperties
public ObjectMapperBuilder addExcludedProperties(java.lang.Class clazz, java.lang.String... properties)
-
getMapper
public com.fasterxml.jackson.databind.ObjectMapper getMapper()
-
getDateFormat
protected static java.text.DateFormat getDateFormat()
-
-