public class JsonValueSerializerWrapper extends Object implements JsonSerializer
| Constructor and Description |
|---|
JsonValueSerializerWrapper(JsonSerializer wrapped) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialize(Class<T> target,
byte[] input)
Deserializes raw input into the target class.
|
byte[] |
serialize(Object input)
Serializes the given input into its encoded byte array form.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdeserializepublic JsonValueSerializerWrapper(JsonSerializer wrapped)
public byte[] serialize(Object input)
JsonSerializerserialize in interface JsonSerializerinput - the object as input.public <T> T deserialize(Class<T> target, byte[] input)
JsonSerializerdeserialize in interface JsonSerializerT - the generic type to deserialize into.target - the target class.input - the raw input.Copyright © 2021 Couchbase, Inc.. All rights reserved.