BsonSchemaCodec
Attributes
- Source
- BsonSchemaCodec.scala
- Graph
-
- Supertypes
- Self type
-
BsonSchemaCodec.type
Members list
Type members
Classlikes
Runtime-codec aliases retained for source compatibility.
Runtime-codec aliases retained for source compatibility.
Attributes
- Source
- BsonSchemaCodec.scala
- Supertypes
- Self type
-
Codecs.type
Configuration for the BSON schema codec.
Configuration for the BSON schema codec.
Value parameters
- classNameMapping
-
The mapping of class names.
- ignoreExtraFields
-
If true (default), extra fields in BSON documents are silently ignored during decoding. If false, decoding will fail with an error when encountering unknown fields.
- sumTypeHandling
-
The handling of sum types.
- useNativeObjectId
-
If true, org.bson.types.ObjectId will be encoded/decoded using BSON's native ObjectId type (BsonType.OBJECT_ID). If false, ObjectId will be treated as a regular wrapper and encoded as a string. Default is false. Note: When using ObjectIdSupport.objectIdSchema, this is automatically detected regardless of this setting.
Attributes
- Companion
- object
- Source
- BsonSchemaCodec.scala
- Supertypes
- Known subtypes
-
object Config
Attributes
- Companion
- class
- Source
- BsonSchemaCodec.scala
- Supertypes
- Self type
-
Config.type
Attributes
- Companion
- trait
- Source
- BsonSchemaCodec.scala
- Supertypes
- Self type
-
SumTypeHandling.type
Attributes
- Companion
- object
- Source
- BsonSchemaCodec.scala
- Supertypes
- Known subtypes
Types
Attributes
- Source
- BsonSchemaCodec.scala
Value members
Concrete methods
Compatibility facade for BsonCodecDeriver.
Attributes
- Source
- BsonSchemaCodec.scala
Derives a BSON decoder using the shared schema derivation framework.
Derives a BSON decoder using the shared schema derivation framework.
Attributes
- Source
- BsonSchemaCodec.scala
Attributes
- Source
- BsonSchemaCodec.scala
Derives a BSON encoder using the shared schema derivation framework.
Derives a BSON encoder using the shared schema derivation framework.
Attributes
- Source
- BsonSchemaCodec.scala
Attributes
- Source
- BsonSchemaCodec.scala