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> Tdeserialize(TypeRef<T> target, byte[] input) Deserializes raw input into the target type.<T> Tdeserialize(Class<T> target, byte[] input) Deserializes raw input into the target class.byte[]
-
Field Details
-
INSTANCE
-
-
Method Details
-
serialize
- Specified by:
serializein interfaceJsonSerializer
-
deserialize
Description copied from interface:DeserializerDeserializes raw input into the target class.- Specified by:
deserializein 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:DeserializerDeserializes raw input into the target type.- Specified by:
deserializein interfaceDeserializer- Type Parameters:
T- the type to deserialize into.- Parameters:
target- the target type.input- the raw input.- Returns:
- the deserialized output.
- Throws:
IOException
-