Uses of Class
com.jsoniter.spi.TypeLiteral
-
Packages that use TypeLiteral Package Description com.jsoniter com.jsoniter.any com.jsoniter.output com.jsoniter.spi com.jsoniter.static_codegen -
-
Uses of TypeLiteral in com.jsoniter
Methods in com.jsoniter with parameters of type TypeLiteral Modifier and Type Method Description static <T> T
JsonIterator. deserialize(byte[] input, TypeLiteral<T> typeLiteral)
static <T> T
JsonIterator. deserialize(Config config, byte[] input, TypeLiteral<T> typeLiteral)
static <T> T
JsonIterator. deserialize(Config config, java.lang.String input, TypeLiteral<T> typeLiteral)
static <T> T
JsonIterator. deserialize(java.lang.String input, TypeLiteral<T> typeLiteral)
<T> T
JsonIterator. read(TypeLiteral<T> typeLiteral)
<T> T
JsonIterator. read(TypeLiteral<T> typeLiteral, T existingObject)
try to bind to existing object, returned object might not the same instancestatic void
Codegen. staticGenDecoders(TypeLiteral[] typeLiterals, CodegenAccess.StaticCodegenTarget staticCodegenTarget)
static void
CodegenAccess. staticGenDecoders(TypeLiteral[] typeLiterals, CodegenAccess.StaticCodegenTarget staticCodegenTarget)
-
Uses of TypeLiteral in com.jsoniter.any
Fields in com.jsoniter.any declared as TypeLiteral Modifier and Type Field Description private static TypeLiteral<java.util.List<Any>>
ArrayLazyAny. typeLiteral
private static TypeLiteral<java.util.Map<java.lang.String,Any>>
ObjectLazyAny. typeLiteral
Methods in com.jsoniter.any with parameters of type TypeLiteral Modifier and Type Method Description <T> T
Any. as(TypeLiteral<T> typeLiteral)
<T> T
Any. as(TypeLiteral<T> typeLiteral, java.lang.Object... keys)
<T> T
LazyAny. as(TypeLiteral<T> typeLiteral)
<T> T
Any. bindTo(TypeLiteral<T> typeLiteral, T obj)
<T> T
Any. bindTo(TypeLiteral<T> typeLiteral, T obj, java.lang.Object... keys)
<T> T
LazyAny. bindTo(TypeLiteral<T> typeLiteral, T obj)
-
Uses of TypeLiteral in com.jsoniter.output
Fields in com.jsoniter.output declared as TypeLiteral Modifier and Type Field Description private TypeLiteral
ReflectionArrayEncoder. compTypeLiteral
private TypeLiteral
ReflectionCollectionEncoder. compTypeLiteral
private TypeLiteral
ReflectionListEncoder. compTypeLiteral
private TypeLiteral
ReflectionMapEncoder. valueTypeLiteral
Methods in com.jsoniter.output with parameters of type TypeLiteral Modifier and Type Method Description static java.lang.String
JsonStream. serialize(Config config, TypeLiteral typeLiteral, java.lang.Object obj)
static void
JsonStream. serialize(Config config, TypeLiteral typeLiteral, java.lang.Object obj, java.io.OutputStream out)
static java.lang.String
JsonStream. serialize(TypeLiteral typeLiteral, java.lang.Object obj)
static void
JsonStream. serialize(TypeLiteral typeLiteral, java.lang.Object obj, java.io.OutputStream out)
static void
Codegen. staticGenEncoders(TypeLiteral[] typeLiterals, CodegenAccess.StaticCodegenTarget staticCodegenTarget)
static void
CodegenAccess. staticGenEncoders(TypeLiteral[] typeLiterals, CodegenAccess.StaticCodegenTarget staticCodegenTarget)
<T> void
JsonStream. writeVal(TypeLiteral<T> typeLiteral, T obj)
-
Uses of TypeLiteral in com.jsoniter.spi
Fields in com.jsoniter.spi declared as TypeLiteral Modifier and Type Field Description TypeLiteral
Binding. clazzTypeLiteral
TypeLiteral
UnwrapperDescriptor. mapValueTypeLiteral
TypeLiteral
Binding. valueTypeLiteral
Fields in com.jsoniter.spi with type parameters of type TypeLiteral Modifier and Type Field Description private static java.util.Map<java.lang.reflect.Type,TypeLiteral>
TypeLiteral. typeLiteralCache
Methods in com.jsoniter.spi that return TypeLiteral Modifier and Type Method Description static TypeLiteral
TypeLiteral. create(java.lang.reflect.Type valueType)
private static TypeLiteral
TypeLiteral. createNew(java.lang.reflect.Type valueType)
Methods in com.jsoniter.spi with parameters of type TypeLiteral Modifier and Type Method Description static void
JsoniterSpi. registerPropertyDecoder(TypeLiteral typeLiteral, java.lang.String property, Decoder decoder)
static void
JsoniterSpi. registerPropertyEncoder(TypeLiteral typeLiteral, java.lang.String property, Encoder encoder)
static void
JsoniterSpi. registerTypeDecoder(TypeLiteral typeLiteral, Decoder decoder)
static void
JsoniterSpi. registerTypeEncoder(TypeLiteral typeLiteral, Encoder encoder)
-
Uses of TypeLiteral in com.jsoniter.static_codegen
Methods in com.jsoniter.static_codegen that return TypeLiteral Modifier and Type Method Description TypeLiteral[]
StaticCodegenConfig. whatToCodegen()
what to codegen
-