public class Config extends EmptyExtension
| Modifier and Type | Class and Description |
|---|---|
static class |
Config.Builder |
| Modifier | Constructor and Description |
|---|---|
protected |
Config(String configName,
Config.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
protected Config.Builder |
builder() |
String |
configName() |
Config.Builder |
copyBuilder() |
protected OmitValue |
createOmitValue(Type valueType) |
DecodingMode |
decodingMode() |
EncodingMode |
encodingMode() |
boolean |
escapeUnicode() |
protected static <T extends Annotation> |
getAnnotation(Annotation[] annotations,
Class<T> annotationClass) |
String |
getDecoderCacheKey(Type type) |
String |
getEncoderCacheKey(Type type) |
protected JsonCreator |
getJsonCreator(Annotation[] annotations) |
protected JsonIgnore |
getJsonIgnore(Annotation[] annotations) |
protected JsonProperty |
getJsonProperty(Annotation[] annotations) |
protected JsonUnwrapper |
getJsonUnwrapper(Annotation[] annotations) |
protected JsonWrapper |
getJsonWrapper(Annotation[] annotations) |
int |
indentionStep() |
boolean |
omitDefaultValue() |
void |
updateClassDescriptor(ClassDescriptor desc)
Update how binding is done for the class
|
canCreate, chooseImplementation, create, createDecoder, createEncoderpublic static final Config INSTANCE
protected Config(String configName, Config.Builder builder)
public String configName()
public DecodingMode decodingMode()
protected Config.Builder builder()
public Config.Builder copyBuilder()
public int indentionStep()
public boolean omitDefaultValue()
public boolean escapeUnicode()
public EncodingMode encodingMode()
public void updateClassDescriptor(ClassDescriptor desc)
ExtensionupdateClassDescriptor in interface ExtensionupdateClassDescriptor in class EmptyExtensiondesc - binding informationprotected JsonWrapper getJsonWrapper(Annotation[] annotations)
protected JsonUnwrapper getJsonUnwrapper(Annotation[] annotations)
protected JsonCreator getJsonCreator(Annotation[] annotations)
protected JsonProperty getJsonProperty(Annotation[] annotations)
protected JsonIgnore getJsonIgnore(Annotation[] annotations)
protected static <T extends Annotation> T getAnnotation(Annotation[] annotations, Class<T> annotationClass)
Copyright © 2019. All rights reserved.