SC - DC - public interface Parser<SC extends SerializationConfig<?>,DC extends DeserializationConfig<?>>
JsonXmlField| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialize(Class<T> targetClass,
File source) |
<T> T |
deserialize(Class<T> targetClass,
File source,
DC config) |
<T> T |
deserialize(Class<T> targetClass,
InputStream source) |
<T> T |
deserialize(Class<T> targetClass,
InputStream source,
DC config) |
<T> T |
deserialize(Class<T> targetClass,
Reader source) |
<T> T |
deserialize(Class<T> targetClass,
Reader source,
DC config) |
<T> T |
deserialize(Class<T> targetClass,
String source) |
<T> T |
deserialize(Class<T> targetClass,
String source,
DC config) |
void |
serialize(File output,
Object obj) |
void |
serialize(File output,
Object obj,
SC config) |
String |
serialize(Object obj) |
String |
serialize(Object obj,
SC config) |
void |
serialize(OutputStream output,
Object obj) |
void |
serialize(OutputStream output,
Object obj,
SC config) |
void |
serialize(Writer output,
Object obj) |
void |
serialize(Writer output,
Object obj,
SC config) |
void serialize(File output, Object obj) throws UncheckedIOException
output - obj - UncheckedIOException - the unchecked IO exceptionvoid serialize(File output, Object obj, SC config) throws UncheckedIOException
output - obj - config - UncheckedIOException - the unchecked IO exceptionvoid serialize(OutputStream output, Object obj) throws UncheckedIOException
output - obj - UncheckedIOException - the unchecked IO exceptionvoid serialize(OutputStream output, Object obj, SC config) throws UncheckedIOException
output - obj - config - UncheckedIOException - the unchecked IO exceptionvoid serialize(Writer output, Object obj) throws UncheckedIOException
output - obj - UncheckedIOException - the unchecked IO exceptionvoid serialize(Writer output, Object obj, SC config) throws UncheckedIOException
output - obj - config - UncheckedIOException - the unchecked IO exception<T> T deserialize(Class<T> targetClass, String source)
T - targetClass - source - <T> T deserialize(Class<T> targetClass, String source, DC config)
T - targetClass - source - config - <T> T deserialize(Class<T> targetClass, File source) throws UncheckedIOException
T - targetClass - source - UncheckedIOException - the unchecked IO exception<T> T deserialize(Class<T> targetClass, File source, DC config) throws UncheckedIOException
T - targetClass - source - config - UncheckedIOException - the unchecked IO exception<T> T deserialize(Class<T> targetClass, InputStream source) throws UncheckedIOException
T - targetClass - source - UncheckedIOException - the unchecked IO exception<T> T deserialize(Class<T> targetClass, InputStream source, DC config) throws UncheckedIOException
T - targetClass - source - config - UncheckedIOException - the unchecked IO exception<T> T deserialize(Class<T> targetClass, Reader source) throws UncheckedIOException
T - targetClass - source - UncheckedIOException - the unchecked IO exception<T> T deserialize(Class<T> targetClass, Reader source, DC config) throws UncheckedIOException
T - targetClass - source - config - UncheckedIOException - the unchecked IO exceptionCopyright © 2021. All rights reserved.