public interface CustomPojoSerializer
| Modifier and Type | Method and Description |
|---|---|
<T> T |
fromJson(InputStream input,
Type type)
Deserializes from input stream to plain old java object
|
<T> T |
fromJson(String input,
Type type)
Deserializes from String to plain old java object
|
<T> void |
toJson(T value,
OutputStream output,
Type type)
Serializes plain old java object to output stream
|
<T> T fromJson(InputStream input, Type type)
input - input streamtype - plain old java object type<T> T fromJson(String input, Type type)
input - input stringtype - plain old java object type<T> void toJson(T value,
OutputStream output,
Type type)
value - instance of type T to be serializedoutput - OutputStream to serialize plain old java object totype - plain old java object typeCopyright © 2025. All rights reserved.