C - public abstract class SerializationConfig<C extends SerializationConfig<C>> extends ParserConfig<C>
| Constructor and Description |
|---|
SerializationConfig() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
char |
getCharQuotation()
Gets the char quotation.
|
DateTimeFormat |
getDateTimeFormat()
The default format is:
LONG. |
Exclusion |
getExclusion()
Gets the exclusion.
|
String |
getIndentation()
Gets the indentation.
|
NamingPolicy |
getPropNamingPolicy()
Gets the prop naming policy.
|
char |
getStringQuotation()
Gets the string quotation.
|
int |
hashCode() |
boolean |
isPrettyFormat()
Checks if is pretty format.
|
boolean |
isSkipTransientField()
Checks if is skip transient field.
|
C |
setCharQuotation(char charQuotation)
Sets the char quotation.
|
C |
setDateTimeFormat(DateTimeFormat dateTimeFormat)
Sets the date time format.
|
C |
setExclusion(Exclusion exclusion)
Sets the exclusion.
|
C |
setIndentation(String indentation)
Sets the indentation.
|
C |
setPrettyFormat(boolean prettyFormat)
Sets the pretty format.
|
C |
setPropNamingPolicy(NamingPolicy propNamingPolicy)
Sets the prop naming policy.
|
C |
setSkipTransientField(boolean skipTransientField)
Sets the skip transient field.
|
C |
setStringQuotation(char stringQuotation)
Sets the string quotation.
|
boolean |
supportCircularReference()
Support circular reference.
|
C |
supportCircularReference(boolean supportCircularReference)
Support circular reference.
|
String |
toString() |
boolean |
writeBigDecimalAsPlain() |
C |
writeBigDecimalAsPlain(boolean writeBigDecimalAsPlain) |
copy, getIgnoredPropNames, getIgnoredPropNames, setIgnoredPropNames, setIgnoredPropNames, setIgnoredPropNamespublic Exclusion getExclusion()
public C setExclusion(Exclusion exclusion)
exclusion - public boolean isSkipTransientField()
public C setSkipTransientField(boolean skipTransientField)
skipTransientField - public char getCharQuotation()
public C setCharQuotation(char charQuotation)
charQuotation - public char getStringQuotation()
public C setStringQuotation(char stringQuotation)
stringQuotation - public DateTimeFormat getDateTimeFormat()
LONG.public C setDateTimeFormat(DateTimeFormat dateTimeFormat)
dateTimeFormat - public boolean isPrettyFormat()
public C setPrettyFormat(boolean prettyFormat)
prettyFormat - public String getIndentation()
public C setIndentation(String indentation)
indentation - public NamingPolicy getPropNamingPolicy()
public C setPropNamingPolicy(NamingPolicy propNamingPolicy)
propNamingPolicy - public boolean supportCircularReference()
public C supportCircularReference(boolean supportCircularReference)
supportCircularReference - public boolean writeBigDecimalAsPlain()
public C writeBigDecimalAsPlain(boolean writeBigDecimalAsPlain)
writeBigDecimalAsPlain - public boolean equals(Object obj)
Copyright © 2021. All rights reserved.