public interface DataMapper
| Modifier and Type | Method and Description |
|---|---|
<T> T |
convert(Object value,
Class<T> type) |
<T> T |
convert(Object value,
com.fasterxml.jackson.core.type.TypeReference<T> typeRef) |
<T> T |
copy(Object value) |
<T> T |
copy(Object value,
Class<T> type) |
<T> T |
copy(Object value,
com.fasterxml.jackson.core.type.TypeReference<T> typeRef) |
com.fasterxml.jackson.databind.node.ArrayNode |
createArrayNode() |
com.fasterxml.jackson.databind.node.ObjectNode |
createObjectNode() |
<T extends com.fasterxml.jackson.core.ObjectCodec> |
mapper(int format) |
<T> T |
read(byte[] bytes,
Class<T> type) |
<T> T |
read(byte[] bytes,
Class<T> type,
int format) |
<T> T |
read(byte[] bytes,
com.fasterxml.jackson.core.type.TypeReference<T> typeRef) |
<T> T |
read(byte[] bytes,
com.fasterxml.jackson.core.type.TypeReference<T> typeRef,
int format) |
<T> T |
read(InputStream stream,
Class<T> type) |
<T> T |
read(InputStream stream,
Class<T> type,
int format) |
<T> T |
read(InputStream stream,
com.fasterxml.jackson.core.type.TypeReference<T> typeRef) |
<T> T |
read(InputStream stream,
com.fasterxml.jackson.core.type.TypeReference<T> typeRef,
int format) |
<T> T |
read(String string,
Class<T> type) |
<T> T |
read(String string,
Class<T> type,
int format) |
<T> T |
read(String string,
com.fasterxml.jackson.core.type.TypeReference<T> typeRef) |
<T> T |
read(String string,
com.fasterxml.jackson.core.type.TypeReference<T> typeRef,
int format) |
byte[] |
writeAsBytes(Object value,
int format) |
byte[] |
writeAsBytes(Object value,
int format,
boolean isPretty) |
String |
writeAsString(Object value,
int format) |
String |
writeAsString(Object value,
int format,
boolean isPretty) |
void |
writeTo(DataOutput out,
Object value,
int format) |
void |
writeTo(DataOutput out,
Object value,
int format,
boolean isPretty) |
void |
writeTo(File out,
Object value,
int format) |
void |
writeTo(File out,
Object value,
int format,
boolean isPretty) |
void |
writeTo(OutputStream out,
Object value,
int format) |
void |
writeTo(OutputStream out,
Object value,
int format,
boolean isPretty) |
void |
writeTo(Writer out,
Object value,
int format) |
void |
writeTo(Writer out,
Object value,
int format,
boolean isPretty) |
static final int JSON
static final int XML
<T> T read(byte[] bytes,
Class<T> type,
int format)
<T> T read(byte[] bytes,
Class<T> type)
<T> T read(InputStream stream, Class<T> type, int format)
<T> T read(InputStream stream, Class<T> type)
<T> T read(byte[] bytes,
com.fasterxml.jackson.core.type.TypeReference<T> typeRef,
int format)
<T> T read(byte[] bytes,
com.fasterxml.jackson.core.type.TypeReference<T> typeRef)
<T> T read(String string, com.fasterxml.jackson.core.type.TypeReference<T> typeRef, int format)
<T> T read(String string, com.fasterxml.jackson.core.type.TypeReference<T> typeRef)
<T> T read(InputStream stream, com.fasterxml.jackson.core.type.TypeReference<T> typeRef, int format)
<T> T read(InputStream stream, com.fasterxml.jackson.core.type.TypeReference<T> typeRef)
byte[] writeAsBytes(Object value, int format, boolean isPretty)
byte[] writeAsBytes(Object value, int format)
void writeTo(File out, Object value, int format, boolean isPretty) throws IOException
IOExceptionvoid writeTo(File out, Object value, int format) throws IOException
IOExceptionvoid writeTo(OutputStream out, Object value, int format, boolean isPretty) throws IOException
IOExceptionvoid writeTo(OutputStream out, Object value, int format) throws IOException
IOExceptionvoid writeTo(Writer out, Object value, int format, boolean isPretty) throws IOException
IOExceptionvoid writeTo(Writer out, Object value, int format) throws IOException
IOExceptionvoid writeTo(DataOutput out, Object value, int format, boolean isPretty) throws IOException
IOExceptionvoid writeTo(DataOutput out, Object value, int format) throws IOException
IOException<T> T convert(Object value, com.fasterxml.jackson.core.type.TypeReference<T> typeRef)
<T> T copy(Object value, com.fasterxml.jackson.core.type.TypeReference<T> typeRef)
<T> T copy(Object value)
com.fasterxml.jackson.databind.node.ObjectNode createObjectNode()
com.fasterxml.jackson.databind.node.ArrayNode createArrayNode()
<T extends com.fasterxml.jackson.core.ObjectCodec> T mapper(int format)
Copyright © 2023. All rights reserved.