public class FastJsonConfig extends Object
SerializeConfig
,
ParserConfig
,
ParseProcess
,
SerializerFeature
,
SerializeFilter
,
Feature
Constructor and Description |
---|
FastJsonConfig()
init param.
|
public SerializeConfig getSerializeConfig()
public void setSerializeConfig(SerializeConfig serializeConfig)
serializeConfig
- the serializeConfig to setpublic ParserConfig getParserConfig()
public void setParserConfig(ParserConfig parserConfig)
parserConfig
- the parserConfig to setpublic SerializerFeature[] getSerializerFeatures()
public void setSerializerFeatures(SerializerFeature... serializerFeatures)
serializerFeatures
- the serializerFeatures to setpublic SerializeFilter[] getSerializeFilters()
public void setSerializeFilters(SerializeFilter... serializeFilters)
serializeFilters
- the serializeFilters to setpublic Feature[] getFeatures()
public void setFeatures(Feature... features)
features
- the features to setpublic Map<Class<?>,SerializeFilter> getClassSerializeFilters()
public void setClassSerializeFilters(Map<Class<?>,SerializeFilter> classSerializeFilters)
classSerializeFilters
- the classSerializeFilters to setpublic String getDateFormat()
public void setDateFormat(String dateFormat)
dateFormat
- the dateFormat to setpublic Charset getCharset()
public void setCharset(Charset charset)
charset
- the charset to setpublic boolean isWriteContentLength()
public void setWriteContentLength(boolean writeContentLength)
writeContentLength
- the write content lengthpublic ParseProcess getParseProcess()
public void setParseProcess(ParseProcess parseProcess)
parseProcess
- the parse processCopyright © 2012–2022 Alibaba Group. All rights reserved.