Package tech.mgl.core.config
Class MGL_JSONConfig
java.lang.Object
tech.mgl.core.config.MGL_JSONConfig
- Author:
- www.mgl.tech
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.alibaba.fastjson2.PropertyNamingStrategybooleanvoidsetBrowserCompatible(Boolean browserCompatible) voidsetDateFormat(String dateFormat) voidsetExcludes(List<String> excludes) voidsetForColAnnotation(boolean forColAnnotation) voidvoidsetIncludes(List<String> includes) voidsetKeyPrefix(String keyPrefix) voidsetPropertyNamingStrategy(com.alibaba.fastjson2.PropertyNamingStrategy propertyNamingStrategy) voidsetTimeFormat(String timeFormat)
-
Constructor Details
-
MGL_JSONConfig
public MGL_JSONConfig()
-
-
Method Details
-
getPropertyNamingStrategy
public com.alibaba.fastjson2.PropertyNamingStrategy getPropertyNamingStrategy() -
setPropertyNamingStrategy
public void setPropertyNamingStrategy(com.alibaba.fastjson2.PropertyNamingStrategy propertyNamingStrategy) -
getDateFormat
-
setDateFormat
-
isForColAnnotation
public boolean isForColAnnotation() -
setForColAnnotation
public void setForColAnnotation(boolean forColAnnotation) -
getIncludes
- Returns:
- the includes
-
setIncludes
- Parameters:
includes- the includes to set
-
getExcludes
- Returns:
- the excludes
-
setExcludes
- Parameters:
excludes- the excludes to set
-
getGenKey
- Returns:
- the genKey
-
setGenKey
- Parameters:
genKey- the genKey to set
-
getTimeFormat
- Returns:
- the timeFormat
-
setTimeFormat
- Parameters:
timeFormat- the timeFormat to set
-
getKeyPrefix
- Returns:
- the keyPrefix
-
setKeyPrefix
- Parameters:
keyPrefix- the keyPrefix to set
-
getBrowserCompatible
- Returns:
- the browserCompatible
-
setBrowserCompatible
- Parameters:
browserCompatible- the browserCompatible to set
-