halotukozak.mcodec
Members list
Packages
Type members
Classlikes
Manual codecs for BSON-native types with no natural JSON/CBOR representation. Each detects whether it is running against the BSON backend (via the BsonExtOutput/BsonExtInput opportunistic capability the BSON value-position reader/writer implements) and uses the native BSON type tag there; on every other backend it falls back to a plain string (or, for BsonRegex, a two-field object) encoding.
Manual codecs for BSON-native types with no natural JSON/CBOR representation. Each detects whether it is running against the BSON backend (via the BsonExtOutput/BsonExtInput opportunistic capability the BSON value-position reader/writer implements) and uses the native BSON type tag there; on every other backend it falls back to a plain string (or, for BsonRegex, a two-field object) encoding.
Attributes
- Source
- BsonCodecs.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object MCodec
- Self type
-
MCodec.type
Opportunistic capability for BSON-native scalar types with no cross-format equivalent.
Opportunistic capability for BSON-native scalar types with no cross-format equivalent.
Attributes
- Source
- BsonInput.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class BsonValueInputclass BsonFieldInput
Opportunistic capability for BSON-native scalar types with no cross-format equivalent.
Opportunistic capability for BSON-native scalar types with no cross-format equivalent.
Attributes
- Source
- BsonOutput.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class BsonValueOutput
Attributes
- Source
- BsonInput.scala
- Supertypes
-
trait FieldInputclass BsonValueInputtrait BsonExtInputtrait InputAndSimpleInputtrait SimpleInputtrait Inputclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- BsonInput.scala
- Supertypes
Attributes
- Source
- BsonOutput.scala
- Supertypes
Attributes
- Source
- BsonInput.scala
- Supertypes
Attributes
- Source
- BsonOutput.scala
- Supertypes
Attributes
- Source
- BsonInput.scala
- Supertypes
-
class Objecttrait Matchableclass Any
A BSON regular expression (type 0x0B): a pattern plus MongoDB-style single-char options.
A BSON regular expression (type 0x0B): a pattern plus MongoDB-style single-char options.
Attributes
- Source
- BsonTypes.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
The true top level of a BSON stream — only a document is legal here (see BsonRootOutput).
The true top level of a BSON stream — only a document is legal here (see BsonRootOutput).
Attributes
- Source
- BsonInput.scala
- Supertypes
The true top level of a BSON stream. Per the BSON spec every encoded value is a document (there is no bare top-level scalar/array), so only writeObject() is legal here.
The true top level of a BSON stream. Per the BSON spec every encoded value is a document (there is no bare top-level scalar/array), so only writeObject() is legal here.
Attributes
- Source
- BsonOutput.scala
- Supertypes
Attributes
- Companion
- object
- Source
- BsonInput.scala
- Supertypes
-
trait BsonExtInputtrait InputAndSimpleInputtrait SimpleInputtrait Inputclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class BsonFieldInput
Attributes
- Companion
- class
- Source
- BsonInput.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BsonValueInput.type
A field/element value position. Unlike CBOR, a BSON element is `` — the tag precedes the name, but we only learn the type once the codec calls one of the write* methods below. So the tag + name are emitted lazily, on first write.
A field/element value position. Unlike CBOR, a BSON element is `` — the tag precedes the name, but we only learn the type once the codec calls one of the write* methods below. So the tag + name are emitted lazily, on first write.
Attributes
- Source
- BsonOutput.scala
- Supertypes
-
trait BsonExtOutputtrait OutputAndSimpleOutputtrait SimpleOutputtrait Outputclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Replay.scala
- Supertypes
-
trait FieldInputclass CapturedInputtrait InputAndSimpleInputtrait SimpleInputtrait Inputclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Replay.scala
- Supertypes
-
trait InputAndSimpleInputtrait SimpleInputtrait Inputclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class CapturedFieldInput
Attributes
- Source
- Replay.scala
- Supertypes
Attributes
- Companion
- object
- Source
- Replay.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- enum
- Source
- Replay.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CapturedValue.type
Attributes
- Source
- Failures.scala
- Supertypes
-
class ReadFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- CborInput.scala
- Supertypes
-
trait FieldInputclass CborInputtrait InputAndSimpleInputtrait SimpleInputtrait Inputclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- CborInput.scala
- Supertypes
-
trait InputAndSimpleInputtrait SimpleInputtrait Inputclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class CborFieldInput
Attributes
- Source
- CborInput.scala
- Supertypes
Attributes
- Source
- CborOutput.scala
- Supertypes
Attributes
- Source
- CborInput.scala
- Supertypes
Attributes
- Source
- CborOutput.scala
- Supertypes
Attributes
- Source
- CborOutput.scala
- Supertypes
-
trait OutputAndSimpleOutputtrait SimpleOutputtrait Outputclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- CborInput.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- Derivation.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object MCodec
- Self type
-
MCodec.type
Attributes
- Source
- DerivedCodecs.scala
- Supertypes
-
trait SimpleCodec[T]trait NullSafeCodec[T]trait MCodec[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Input.scala
- Supertypes
- Known subtypes
Attributes
- Source
- Failures.scala
- Supertypes
-
class ReadFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- DerivedCodecs.scala
- Supertypes
-
trait SizedCodec[T]trait ObjectCodec[T]trait NullSafeCodec[T]trait MCodec[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Input.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class BsonRootInputtrait FieldInputclass BsonFieldInputclass CapturedFieldInputclass CborFieldInputclass JsonFieldInputtrait InputAndSimpleInputclass BsonValueInputclass CapturedInputclass CborInputclass JsonInputShow all
Attributes
- Source
- Input.scala
- Supertypes
- Known subtypes
-
class BsonValueInputclass BsonFieldInputclass CapturedInputclass CapturedFieldInputclass CborInputclass CborFieldInputclass JsonInputclass JsonFieldInputShow all
Attributes
- Source
- Input.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- JavaCodecs.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object MCodec
- Self type
-
MCodec.type
BSON JavaScript code (type 0x0D, without scope).
BSON JavaScript code (type 0x0D, without scope).
Attributes
- Source
- BsonTypes.scala
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Json.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Json.type
Attributes
- Source
- JsonInput.scala
- Supertypes
-
trait FieldInputclass JsonInputtrait InputAndSimpleInputtrait SimpleInputtrait Inputclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- JsonInput.scala
- Supertypes
-
trait InputAndSimpleInputtrait SimpleInputtrait Inputclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class JsonFieldInput
Attributes
- Source
- JsonInput.scala
- Supertypes
Attributes
- Source
- JsonOutput.scala
- Supertypes
Attributes
- Source
- JsonInput.scala
- Supertypes
Attributes
- Source
- JsonOutput.scala
- Supertypes
Attributes
- Source
- JsonOutput.scala
- Supertypes
-
trait OutputAndSimpleOutputtrait SimpleOutputtrait Outputclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- JsonInput.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- JsonInput.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- BaseCodecs.scala
- Supertypes
- Known subtypes
-
Attributes
- Source
- Failures.scala
- Supertypes
-
class ReadFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Input.scala
- Supertypes
- Known subtypes
Attributes
- Source
- Output.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- trait
- Source
- MCodec.scala
- Supertypes
-
trait BsonCodecstrait Derivationtrait JavaCodecstrait ManualCodecstrait StdCodecsclass Objecttrait Matchableclass AnyShow all
- Self type
-
MCodec.type
Attributes
- Companion
- object
- Source
- MCodec.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait NullSafeCodec[T]trait ListCodec[T]trait ObjectCodec[T]class FlatSumCodec[T]class NestedSumCodec[T]class ProductCodec[T]class SingletonCodec[T]trait SimpleCodec[T]class EnumStringCodec[T]Show all
- Self type
-
MCodec[T]
Attributes
- Companion
- object
- Source
- MKeyCodec.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Source
- MKeyCodec.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MKeyCodec.type
Attributes
- Source
- ManualCodecs.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object MCodec
Attributes
- Source
- Failures.scala
- Supertypes
-
class ReadFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- trait
- Source
- Marker.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Marker.type
Attributes
- Companion
- object
- Source
- Marker.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object IgnoreTransientDefaults
BSON MaxKey (type 0x7F) — sorts after every other BSON value.
BSON MaxKey (type 0x7F) — sorts after every other BSON value.
Attributes
- Source
- BsonTypes.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
MaxKey.type
BSON MinKey (type 0xFF) — sorts before every other BSON value.
BSON MinKey (type 0xFF) — sorts before every other BSON value.
Attributes
- Source
- BsonTypes.scala
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
MinKey.type
Attributes
- Source
- Failures.scala
- Supertypes
-
class ReadFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Failures.scala
- Supertypes
-
class ReadFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- DerivedCodecs.scala
- Supertypes
-
trait SizedCodec[T]trait ObjectCodec[T]trait NullSafeCodec[T]trait MCodec[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Failures.scala
- Supertypes
-
class ReadFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- BaseCodecs.scala
- Supertypes
- Known subtypes
-
trait ListCodec[T]trait ObjectCodec[T]class FlatSumCodec[T]class NestedSumCodec[T]class ProductCodec[T]class SingletonCodec[T]trait SimpleCodec[T]class EnumStringCodec[T]Show all
Attributes
- Source
- BaseCodecs.scala
- Supertypes
- Known subtypes
A 12-byte MongoDB ObjectId. BSON-native (type 0x07); falls back to a 24-char hex string elsewhere.
A 12-byte MongoDB ObjectId. BSON-native (type 0x07); falls back to a 24-char hex string elsewhere.
Attributes
- Companion
- object
- Source
- BsonTypes.scala
- Supertypes
-
class AnyValtrait Matchableclass Any
Attributes
- Companion
- class
- Source
- BsonTypes.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ObjectId.type
Attributes
- Source
- Input.scala
- Supertypes
- Known subtypes
Attributes
- Source
- Output.scala
- Supertypes
- Known subtypes
Attributes
- Source
- Output.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class BsonRootOutputtrait OutputAndSimpleOutputclass BsonValueOutputclass CborOutputclass JsonOutput
Attributes
- Source
- Output.scala
- Supertypes
- Known subtypes
Attributes
- Companion
- enum
- Source
- Failures.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PathSegment.type
Attributes
- Companion
- object
- Source
- Failures.scala
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- DerivedCodecs.scala
- Supertypes
-
trait SizedCodec[T]trait ObjectCodec[T]trait NullSafeCodec[T]trait MCodec[T]class Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Source
- Failures.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ReadFailure.type
Attributes
- Companion
- object
- Source
- Failures.scala
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class CaseReadFailedclass FieldReadFailedclass ListElementReadFailedclass MapFieldReadFailedclass MissingCaseclass MissingFieldclass NotSingleFieldclass UnknownCaseShow all
Attributes
- Source
- Replay.scala
- Supertypes
Attributes
- Source
- Input.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ListInputclass BsonListInputclass CapturedListInputclass CborListInputclass JsonListInputtrait ObjectInputclass BsonObjectInputclass CborObjectInputclass JsonObjectInputclass ReplayObjectInputShow all
Attributes
- Source
- Output.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ListOutputclass BsonListOutputclass CborListOutputclass JsonListOutputtrait ObjectOutputclass BsonObjectOutputclass CborObjectOutputclass JsonObjectOutputShow all
Attributes
- Source
- BaseCodecs.scala
- Supertypes
- Known subtypes
-
class EnumStringCodec[T]Show all
Attributes
- Source
- Input.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait InputAndSimpleInputclass BsonValueInputclass BsonFieldInputclass CapturedInputclass CapturedFieldInputclass CborInputclass CborFieldInputclass JsonInputclass JsonFieldInputShow all
Attributes
- Source
- Output.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Source
- DerivedCodecs.scala
- Supertypes
-
trait SizedCodec[T]trait ObjectCodec[T]trait NullSafeCodec[T]trait MCodec[T]class Objecttrait Matchableclass AnyShow all
A codec able to report the exact number of elements/fields it will write for a value.
A codec able to report the exact number of elements/fields it will write for a value.
Attributes
- Source
- BaseCodecs.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Source
- StdCodecs.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object MCodec
Attributes
- Source
- DerivedCodecs.scala
- Supertypes
Attributes
- Source
- Failures.scala
- Supertypes
-
class ReadFailureclass RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Attributes
- Source
- Failures.scala
- Supertypes
-
class RuntimeExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Value members
Concrete methods
Attributes
- Source
- Failures.scala
Givens
Givens
Attributes
- Source
- JavaEnumCodec.scala
Extensions
Extensions
Attributes
- Source
- Marker.scala