medeia
medeia
API
medeia.codec
BsonCodec
BsonCodec
BsonDocumentCodec
BsonDocumentCodec
BsonKeyCodec
BsonKeyCodec
medeia.decoder
BsonDecoder
BsonDecoder
BsonDecoderError
BsonDecoderError
FieldParseError
GenericDecoderError
InvalidTypeTag
KeyNotFound
TypeMismatch
BsonIterableDecoder
BsonKeyDecoder
BsonKeyDecoder
DefaultBsonDecoderInstances
DefaultBsonKeyDecoderInstances
ErrorStack
ErrorStack
LowestPrioDecoderAutoDerivation
StackFrame
StackFrame
Attr
Case
Custom
Index
MapKey
medeia.encoder
BsonDocumentEncoder
BsonDocumentEncoder
BsonEncoder
BsonEncoder
BsonIterableEncoder
BsonKeyEncoder
BsonKeyEncoder
DefaultBsonEncoderInstances
DefaultBsonKeyEncoderInstances
LowestPrioEncoderAutoDerivation
medeia.generic
GenericCoproductDecoder
GenericCoproductEncoder
GenericDecoder
GenericDecoder
GenericDecoderInstances
GenericDerivationOptions
GenericEncoder
GenericEncoder
GenericEncoderInstances
GenericProductDecoder
GenericProductEncoder
SealedTraitDerivationOptions
medeia.generic.auto
medeia.syntax
MedeiaSyntax
BsonDecoderOps
BsonDecoderOpsForDocument
GetSafeOpsForBsonDocument
GetSafeOpsForDocument
MedeiaOps
medeia
/
medeia.codec
/
BsonCodec
BsonCodec
medeia.codec.BsonCodec
See the
BsonCodec
companion object
trait
BsonCodec
[
A
]
extends
BsonEncoder
[
A
]
with
BsonDecoder
[
A
]
Attributes
Companion:
object
Graph
Reset zoom
Hide graph
Show graph
Supertypes
trait
BsonDecoder
[
A
]
trait
BsonEncoder
[
A
]
class
Object
trait
Matchable
class
Any
Known subtypes
trait
BsonDocumentCodec
[
A
]
Clear all
Members list
Concise view
Value members
Concrete methods
def
iemap
[
B
](
f
:
A
=>
Either
[
String
,
B
])(
g
:
B
=>
A
):
BsonCodec
[
B
]
def
imap
[
B
](
f
:
A
=>
B
)(
g
:
B
=>
A
):
BsonCodec
[
B
]
Inherited methods
def
contramap
[
B
](
f
:
B
=>
A
):
BsonEncoder
[
B
]
Attributes
Inherited from:
BsonEncoder
def
decode
(
bson
:
BsonValue
):
EitherNec
[
BsonDecoderError
,
A
]
Attributes
Inherited from:
BsonDecoder
def
defaultValue
:
Option
[
A
]
Attributes
Inherited from:
BsonDecoder
def
emap
[
B
](
f
:
A
=>
Either
[
String
,
B
]):
BsonDecoder
[
B
]
Attributes
Inherited from:
BsonDecoder
def
encode
(
value
:
A
):
BsonValue
Attributes
Inherited from:
BsonEncoder
def
map
[
B
](
f
:
A
=>
B
):
BsonDecoder
[
B
]
Attributes
Inherited from:
BsonDecoder