Package com.jsoniter.spi
Class Config
java.lang.Object
com.jsoniter.spi.EmptyExtension
com.jsoniter.spi.Config
- All Implemented Interfaces:
Extension
- Direct Known Subclasses:
GsonCompatibilityMode,JacksonCompatibilityMode
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Config.Builderbuilder()protected OmitValuecreateOmitValue(Type valueType) booleanprotected static <T extends Annotation>
TgetAnnotation(Annotation[] annotations, Class<T> annotationClass) getDecoderCacheKey(Type type) getEncoderCacheKey(Type type) protected JsonCreatorgetJsonCreator(Annotation[] annotations) protected JsonIgnoregetJsonIgnore(Annotation[] annotations) protected JsonPropertygetJsonProperty(Annotation[] annotations) protected JsonUnwrappergetJsonUnwrapper(Annotation[] annotations) protected JsonWrappergetJsonWrapper(Annotation[] annotations) intbooleanvoidUpdate how binding is done for the classMethods inherited from class com.jsoniter.spi.EmptyExtension
canCreate, chooseImplementation, create, createDecoder, createEncoder
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
Config
-
-
Method Details
-
configName
-
getDecoderCacheKey
-
getEncoderCacheKey
-
decodingMode
-
builder
-
copyBuilder
-
indentionStep
public int indentionStep() -
omitDefaultValue
public boolean omitDefaultValue() -
escapeUnicode
public boolean escapeUnicode() -
encodingMode
-
updateClassDescriptor
Description copied from interface:ExtensionUpdate how binding is done for the class- Specified by:
updateClassDescriptorin interfaceExtension- Overrides:
updateClassDescriptorin classEmptyExtension- Parameters:
desc- binding information
-
createOmitValue
-
getJsonWrapper
-
getJsonUnwrapper
-
getJsonCreator
-
getJsonProperty
-
getJsonIgnore
-
getAnnotation
protected static <T extends Annotation> T getAnnotation(Annotation[] annotations, Class<T> annotationClass)
-