Class InternalJacksonSerDes
java.lang.Object
com.couchbase.columnar.client.java.internal.InternalJacksonSerDes
- All Implemented Interfaces:
Deserializer
,JsonSerializer
For internal SDK use only.
- See Also:
- Implementation Note:
- The serializer is backed by a repackaged version of Jackson,
but this is an implementation detail users should not depend on.
Be aware that this serializer does not recognize standard Jackson annotations.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription<T> T
deserialize
(TypeRef<T> target, byte[] input) Deserializes raw input into the target type.<T> T
deserialize
(Class<T> target, byte[] input) Deserializes raw input into the target class.byte[]
-
Field Details
-
INSTANCE
-
-
Method Details
-
serialize
- Specified by:
serialize
in interfaceJsonSerializer
-
deserialize
Description copied from interface:Deserializer
Deserializes raw input into the target class.- Specified by:
deserialize
in interfaceDeserializer
- Type Parameters:
T
- the generic type to deserialize into.- Parameters:
target
- the target class.input
- the raw input.- Returns:
- the deserialized output.
- Throws:
IOException
-
deserialize
Description copied from interface:Deserializer
Deserializes raw input into the target type.- Specified by:
deserialize
in interfaceDeserializer
- Type Parameters:
T
- the type to deserialize into.- Parameters:
target
- the target type.input
- the raw input.- Returns:
- the deserialized output.
- Throws:
IOException
-