Class JsoniterSpi

java.lang.Object
com.jsoniter.spi.JsoniterSpi

public class JsoniterSpi extends Object
  • Constructor Details

    • JsoniterSpi

      public JsoniterSpi()
  • Method Details

    • setCurrentConfig

      public static void setCurrentConfig(Config val)
    • clearCurrentConfig

      public static void clearCurrentConfig()
    • getCurrentConfig

      public static Config getCurrentConfig()
    • setDefaultConfig

      public static void setDefaultConfig(Config val)
    • getDefaultConfig

      public static Config getDefaultConfig()
    • assignConfigName

      public static String assignConfigName(Object obj)
    • registerExtension

      public static void registerExtension(Extension extension)
    • getExtensions

      public static List<Extension> getExtensions()
    • registerMapKeyDecoder

      public static void registerMapKeyDecoder(Type mapKeyType, Decoder mapKeyDecoder)
    • registerMapKeyEncoder

      public static void registerMapKeyEncoder(Type mapKeyType, Encoder mapKeyEncoder)
    • registerTypeImplementation

      public static void registerTypeImplementation(Class superClazz, Class implClazz)
    • getTypeImplementation

      public static Class getTypeImplementation(Class superClazz)
    • registerTypeDecoder

      public static void registerTypeDecoder(Class clazz, Decoder decoder)
    • registerTypeDecoder

      public static void registerTypeDecoder(TypeLiteral typeLiteral, Decoder decoder)
    • registerTypeEncoder

      public static void registerTypeEncoder(Class clazz, Encoder encoder)
    • registerTypeEncoder

      public static void registerTypeEncoder(TypeLiteral typeLiteral, Encoder encoder)
    • registerPropertyDecoder

      public static void registerPropertyDecoder(Class clazz, String property, Decoder decoder)
    • registerPropertyDecoder

      public static void registerPropertyDecoder(TypeLiteral typeLiteral, String property, Decoder decoder)
    • registerPropertyEncoder

      public static void registerPropertyEncoder(Class clazz, String property, Encoder encoder)
    • registerPropertyEncoder

      public static void registerPropertyEncoder(TypeLiteral typeLiteral, String property, Encoder encoder)
    • getMapKeyEncoderCacheKey

      public static String getMapKeyEncoderCacheKey(Type mapKeyType)
    • getMapKeyDecoderCacheKey

      public static String getMapKeyDecoderCacheKey(Type mapKeyType)
    • addNewMapDecoder

      public static void addNewMapDecoder(String cacheKey, Decoder mapKeyDecoder)
    • getMapKeyDecoder

      public static Decoder getMapKeyDecoder(String cacheKey)
    • addNewMapEncoder

      public static void addNewMapEncoder(String cacheKey, Encoder mapKeyEncoder)
    • getMapKeyEncoder

      public static Encoder getMapKeyEncoder(String cacheKey)
    • getDecoder

      public static Decoder getDecoder(String cacheKey)
    • addNewDecoder

      public static void addNewDecoder(String cacheKey, Decoder decoder)
    • getEncoder

      public static Encoder getEncoder(String cacheKey)
    • addNewEncoder

      public static void addNewEncoder(String cacheKey, Encoder encoder)
    • canCreate

      public static boolean canCreate(Class clazz)
    • create

      public static Object create(Class clazz)
    • getObjectFactory

      public static Extension getObjectFactory(Class clazz)