io.github.mbannour.mongo.codecs

Members list

Type members

Classlikes

Codec generator for BSON serialization and deserialization of case classes.

Codec generator for BSON serialization and deserialization of case classes.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Macro-based codec generator for BSON serialization/deserialization of case classes, supporting nested and sealed hierarchies.

Macro-based codec generator for BSON serialization/deserialization of case classes, supporting nested and sealed hierarchies.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Provides macros for generating a MongoDB [[org.bson.codecs.configuration.CodecProvider CodecProvider]] for a given case class type.

Provides macros for generating a MongoDB [[org.bson.codecs.configuration.CodecProvider CodecProvider]] for a given case class type.

This object contains inline methods that create a CodecProvider tailored for case classes. The generated CodecProvider will supply a Codec for the case class type T using the provided [[org.bson.codecs.configuration.CodecRegistry CodecRegistry]] . Depending on the method invoked, the Codec will either ignore or encode fields with a value of None.

Attributes

See also

CaseClassCodecGenerator.generateCodec

Supertypes
class Object
trait Matchable
class Any
Self type