Class JsoniterSpi
java.lang.Object
com.jsoniter.spi.JsoniterSpi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddNewDecoder(String cacheKey, Decoder decoder) static voidaddNewEncoder(String cacheKey, Encoder encoder) static voidaddNewMapDecoder(String cacheKey, Decoder mapKeyDecoder) static voidaddNewMapEncoder(String cacheKey, Encoder mapKeyEncoder) static StringassignConfigName(Object obj) static booleanstatic voidstatic Objectstatic Configstatic DecodergetDecoder(String cacheKey) static Configstatic EncodergetEncoder(String cacheKey) static DecodergetMapKeyDecoder(String cacheKey) static StringgetMapKeyDecoderCacheKey(Type mapKeyType) static EncodergetMapKeyEncoder(String cacheKey) static StringgetMapKeyEncoderCacheKey(Type mapKeyType) static ExtensiongetObjectFactory(Class clazz) static ClassgetTypeImplementation(Class superClazz) static voidregisterExtension(Extension extension) static voidregisterMapKeyDecoder(Type mapKeyType, Decoder mapKeyDecoder) static voidregisterMapKeyEncoder(Type mapKeyType, Encoder mapKeyEncoder) static voidregisterPropertyDecoder(TypeLiteral typeLiteral, String property, Decoder decoder) static voidregisterPropertyDecoder(Class clazz, String property, Decoder decoder) static voidregisterPropertyEncoder(TypeLiteral typeLiteral, String property, Encoder encoder) static voidregisterPropertyEncoder(Class clazz, String property, Encoder encoder) static voidregisterTypeDecoder(TypeLiteral typeLiteral, Decoder decoder) static voidregisterTypeDecoder(Class clazz, Decoder decoder) static voidregisterTypeEncoder(TypeLiteral typeLiteral, Encoder encoder) static voidregisterTypeEncoder(Class clazz, Encoder encoder) static voidregisterTypeImplementation(Class superClazz, Class implClazz) static voidsetCurrentConfig(Config val) static voidsetDefaultConfig(Config val)
-
Constructor Details
-
JsoniterSpi
public JsoniterSpi()
-
-
Method Details
-
setCurrentConfig
-
clearCurrentConfig
public static void clearCurrentConfig() -
getCurrentConfig
-
setDefaultConfig
-
getDefaultConfig
-
assignConfigName
-
registerExtension
-
getExtensions
-
registerMapKeyDecoder
-
registerMapKeyEncoder
-
registerTypeImplementation
-
getTypeImplementation
-
registerTypeDecoder
-
registerTypeDecoder
-
registerTypeEncoder
-
registerTypeEncoder
-
registerPropertyDecoder
-
registerPropertyDecoder
public static void registerPropertyDecoder(TypeLiteral typeLiteral, String property, Decoder decoder) -
registerPropertyEncoder
-
registerPropertyEncoder
public static void registerPropertyEncoder(TypeLiteral typeLiteral, String property, Encoder encoder) -
getMapKeyEncoderCacheKey
-
getMapKeyDecoderCacheKey
-
addNewMapDecoder
-
getMapKeyDecoder
-
addNewMapEncoder
-
getMapKeyEncoder
-
getDecoder
-
addNewDecoder
-
getEncoder
-
addNewEncoder
-
canCreate
-
create
-
getObjectFactory
-