| Package | Description |
|---|---|
| com.jsoniter | |
| com.jsoniter.any | |
| com.jsoniter.output | |
| com.jsoniter.spi | |
| com.jsoniter.static_codegen |
| Modifier and Type | Method and 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,
String input,
TypeLiteral<T> typeLiteral) |
static <T> T |
JsonIterator.deserialize(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 instance
|
static void |
CodegenAccess.staticGenDecoders(TypeLiteral[] typeLiterals,
CodegenAccess.StaticCodegenTarget staticCodegenTarget) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
Any.as(TypeLiteral<T> typeLiteral) |
<T> T |
Any.as(TypeLiteral<T> typeLiteral,
Object... keys) |
<T> T |
Any.bindTo(TypeLiteral<T> typeLiteral,
T obj) |
<T> T |
Any.bindTo(TypeLiteral<T> typeLiteral,
T obj,
Object... keys) |
| Modifier and Type | Method and Description |
|---|---|
static String |
JsonStream.serialize(Config config,
TypeLiteral typeLiteral,
Object obj) |
static void |
JsonStream.serialize(Config config,
TypeLiteral typeLiteral,
Object obj,
OutputStream out) |
static String |
JsonStream.serialize(TypeLiteral typeLiteral,
Object obj) |
static void |
JsonStream.serialize(TypeLiteral typeLiteral,
Object obj,
OutputStream out) |
static void |
CodegenAccess.staticGenEncoders(TypeLiteral[] typeLiterals,
CodegenAccess.StaticCodegenTarget staticCodegenTarget) |
<T> void |
JsonStream.writeVal(TypeLiteral<T> typeLiteral,
T obj) |
| Modifier and Type | Field and Description |
|---|---|
TypeLiteral |
Binding.clazzTypeLiteral |
TypeLiteral |
UnwrapperDescriptor.mapValueTypeLiteral |
TypeLiteral |
Binding.valueTypeLiteral |
| Modifier and Type | Method and Description |
|---|---|
static TypeLiteral |
TypeLiteral.create(Type valueType) |
| Modifier and Type | Method and Description |
|---|---|
static void |
JsoniterSpi.registerPropertyDecoder(TypeLiteral typeLiteral,
String property,
Decoder decoder) |
static void |
JsoniterSpi.registerPropertyEncoder(TypeLiteral typeLiteral,
String property,
Encoder encoder) |
static void |
JsoniterSpi.registerTypeDecoder(TypeLiteral typeLiteral,
Decoder decoder) |
static void |
JsoniterSpi.registerTypeEncoder(TypeLiteral typeLiteral,
Encoder encoder) |
| Modifier and Type | Method and Description |
|---|---|
TypeLiteral[] |
StaticCodegenConfig.whatToCodegen()
what to codegen
|
Copyright © 2019. All rights reserved.