| 限定符和类型 | 字段和说明 |
|---|---|
static com.fasterxml.jackson.databind.ObjectMapper |
defaultMapper |
| 构造器和说明 |
|---|
JsonValueCodec(Class targetType,
com.fasterxml.jackson.databind.JavaType type) |
| 限定符和类型 | 方法和说明 |
|---|---|
Object |
decode(Object data) |
protected Object |
doRead(InputStream stream) |
protected Object |
doRead(String str) |
Object |
encode(Object value) |
static JsonValueCodec |
of(Class targetType) |
static JsonValueCodec |
ofCollection(Class<? extends Collection> targetType,
Class elementType) |
static JsonValueCodec |
ofField(Field field) |
static JsonValueCodec |
ofMap(Class<? extends Map> targetType,
Class keyType,
Class valueType) |
public JsonValueCodec(Class targetType, com.fasterxml.jackson.databind.JavaType type)
public static JsonValueCodec of(Class targetType)
public static JsonValueCodec ofCollection(Class<? extends Collection> targetType, Class elementType)
public static JsonValueCodec ofMap(Class<? extends Map> targetType, Class keyType, Class valueType)
public static JsonValueCodec ofField(Field field)
protected Object doRead(InputStream stream)
Copyright © 2021. All rights reserved.