@Singleton public final class BsonRepresentationSerde extends AbstractBsonSerde<java.lang.Object>
BsonType
representation serializer/deserializer.Serializer.EncoderContext
Deserializer.DecoderContext
Constructor and Description |
---|
BsonRepresentationSerde() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
doDeserializeNonNull(BsonReaderDecoder decoder,
Deserializer.DecoderContext context,
io.micronaut.core.type.Argument<? super java.lang.Object> type) |
protected void |
doSerialize(BsonWriterEncoder encoder,
Serializer.EncoderContext context,
java.lang.Object value,
io.micronaut.core.type.Argument<?> type) |
deserializeNonNull, serialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createSpecific, isAbsent, isEmpty
allowNull, deserialize
createSpecific, getDefaultValue
protected java.lang.Object doDeserializeNonNull(BsonReaderDecoder decoder, Deserializer.DecoderContext context, io.micronaut.core.type.Argument<? super java.lang.Object> type) throws java.io.IOException
doDeserializeNonNull
in class AbstractBsonSerde<java.lang.Object>
java.io.IOException
protected void doSerialize(BsonWriterEncoder encoder, Serializer.EncoderContext context, java.lang.Object value, io.micronaut.core.type.Argument<?> type) throws java.io.IOException
doSerialize
in class AbstractBsonSerde<java.lang.Object>
java.io.IOException