| Modifier and Type | Class and Description |
|---|---|
static class |
GsonCompatibilityMode.Builder |
| Modifier and Type | Method and Description |
|---|---|
protected GsonCompatibilityMode.Builder |
builder() |
Decoder |
createDecoder(String cacheKey,
Type type)
Customize type decoding
|
Encoder |
createEncoder(String cacheKey,
Type type)
Customize type encoding
|
protected OmitValue |
createOmitValue(Type valueType) |
protected JsonIgnore |
getJsonIgnore(Annotation[] annotations) |
protected JsonProperty |
getJsonProperty(Annotation[] annotations) |
void |
updateClassDescriptor(ClassDescriptor desc)
Update how binding is done for the class
|
configName, copyBuilder, decodingMode, encodingMode, escapeUnicode, getAnnotation, getDecoderCacheKey, getEncoderCacheKey, getJsonCreator, getJsonUnwrapper, getJsonWrapper, indentionStep, omitDefaultValuecanCreate, chooseImplementation, createprotected GsonCompatibilityMode.Builder builder()
protected OmitValue createOmitValue(Type valueType)
createOmitValue in class Configpublic Encoder createEncoder(String cacheKey, Type type)
ExtensioncreateEncoder in interface ExtensioncreateEncoder in class EmptyExtensioncacheKey - name of the encodertype - change how to encode the typepublic Decoder createDecoder(String cacheKey, Type type)
ExtensioncreateDecoder in interface ExtensioncreateDecoder in class EmptyExtensioncacheKey - name of the decodertype - change how to decode the typepublic void updateClassDescriptor(ClassDescriptor desc)
ExtensionupdateClassDescriptor in interface ExtensionupdateClassDescriptor in class Configdesc - binding informationprotected JsonProperty getJsonProperty(Annotation[] annotations)
getJsonProperty in class Configprotected JsonIgnore getJsonIgnore(Annotation[] annotations)
getJsonIgnore in class ConfigCopyright © 2019. All rights reserved.