mcodec

package mcodec

Members list

Packages

Type members

Classlikes

final class CapturedFieldInput(val fieldName: String, value: CapturedValue) extends CapturedInput, FieldInput

Attributes

Source
Replay.scala
Supertypes
trait FieldInput
trait SimpleInput
trait Input
class Object
trait Matchable
class Any
Show all

Attributes

Source
Replay.scala
Supertypes
trait SimpleInput
trait Input
class Object
trait Matchable
class Any
Show all
Known subtypes
final class CapturedListInput(items: Vector[CapturedValue]) extends ListInput

Attributes

Source
Replay.scala
Supertypes
trait ListInput
class Object
trait Matchable
class Any
object CapturedValue

Attributes

Companion
enum
Source
Replay.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Source
Replay.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final class CaseReadFailed extends ReadFailure

Attributes

Source
Failures.scala
Supertypes
class ReadFailure
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final class CborFieldInput(reader: CborReader, val fieldName: String) extends CborInput, FieldInput

Attributes

Source
CborInput.scala
Supertypes
trait FieldInput
class CborInput
trait SimpleInput
trait Input
class Object
trait Matchable
class Any
Show all
class CborInput(reader: CborReader) extends InputAndSimpleInput

Attributes

Source
CborInput.scala
Supertypes
trait SimpleInput
trait Input
class Object
trait Matchable
class Any
Show all
Known subtypes
final class CborListInput(reader: CborReader) extends ListInput

Attributes

Source
CborInput.scala
Supertypes
trait ListInput
class Object
trait Matchable
class Any
final class CborListOutput(out: ByteArrayOutputStream) extends ListOutput

Attributes

Source
CborOutput.scala
Supertypes
trait ListOutput
class Object
trait Matchable
class Any
final class CborObjectInput(reader: CborReader) extends ObjectInput

Attributes

Source
CborInput.scala
Supertypes
trait ObjectInput
class Object
trait Matchable
class Any

Attributes

Source
CborOutput.scala
Supertypes
trait ObjectOutput
class Object
trait Matchable
class Any

Attributes

Source
CborOutput.scala
Supertypes
trait SimpleOutput
trait Output
class Object
trait Matchable
class Any
Show all
final class CborReader(bytes: Array[Byte])

Attributes

Source
CborInput.scala
Supertypes
class Object
trait Matchable
class Any
final class Deferred[T] extends MCodec[T]

Attributes

Source
DerivedCodecs.scala
Supertypes
trait MCodec[T]
class Object
trait Matchable
class Any
trait Derivation

Attributes

Source
Derivation.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MCodec
Self type
MCodec.type
final class EnumStringCodec[T](typeName: String, caseNames: Array[String], caseCodecs: => Array[MCodec[Any]], ordinalOf: T => Int) extends SimpleCodec[T]

Attributes

Source
DerivedCodecs.scala
Supertypes
trait SimpleCodec[T]
trait NullSafeCodec[T]
trait MCodec[T]
class Object
trait Matchable
class Any
Show all
trait FieldInput extends Input

Attributes

Source
Input.scala
Supertypes
trait Input
class Object
trait Matchable
class Any
Known subtypes
final class FieldReadFailed extends ReadFailure

Attributes

Source
Failures.scala
Supertypes
class ReadFailure
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final class FlatSumCodec[T](typeName: String, caseNames: Array[String], caseCodecs: => Array[MCodec[Any]], ordinalOf: T => Int, caseFieldName: String, defaultCaseIdx: Int) extends ObjectCodec[T], SizedCodec[T]

Attributes

Source
DerivedCodecs.scala
Supertypes
trait SizedCodec[T]
trait ObjectCodec[T]
trait NullSafeCodec[T]
trait MCodec[T]
class Object
trait Matchable
class Any
Show all
trait Input

Attributes

Source
Input.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
Input.scala
Supertypes
trait SimpleInput
trait Input
class Object
trait Matchable
class Any
Known subtypes
class CborInput
class JsonInput
Show all
enum InputKind

Attributes

Source
Input.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait JavaCodecs

Attributes

Source
JavaCodecs.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MCodec
Self type
MCodec.type
object Json

Attributes

Source
Json.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Json.type
final class JsonFieldInput(reader: JsonReader, val fieldName: String) extends JsonInput, FieldInput

Attributes

Source
JsonInput.scala
Supertypes
trait FieldInput
class JsonInput
trait SimpleInput
trait Input
class Object
trait Matchable
class Any
Show all
class JsonInput(reader: JsonReader) extends InputAndSimpleInput

Attributes

Source
JsonInput.scala
Supertypes
trait SimpleInput
trait Input
class Object
trait Matchable
class Any
Show all
Known subtypes
final class JsonListInput(reader: JsonReader) extends ListInput

Attributes

Source
JsonInput.scala
Supertypes
trait ListInput
class Object
trait Matchable
class Any
final class JsonListOutput(sb: StringBuilder) extends ListOutput

Attributes

Source
JsonOutput.scala
Supertypes
trait ListOutput
class Object
trait Matchable
class Any
final class JsonObjectInput(reader: JsonReader) extends ObjectInput

Attributes

Source
JsonInput.scala
Supertypes
trait ObjectInput
class Object
trait Matchable
class Any
final class JsonObjectOutput(sb: StringBuilder) extends ObjectOutput

Attributes

Source
JsonOutput.scala
Supertypes
trait ObjectOutput
class Object
trait Matchable
class Any

Attributes

Source
JsonOutput.scala
Supertypes
trait SimpleOutput
trait Output
class Object
trait Matchable
class Any
Show all
final class JsonReader(s: String)

Attributes

Source
JsonInput.scala
Supertypes
class Object
trait Matchable
class Any
enum JsonToken

Attributes

Source
JsonInput.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait ListCodec[T] extends NullSafeCodec[T]

Attributes

Source
BaseCodecs.scala
Supertypes
trait NullSafeCodec[T]
trait MCodec[T]
class Object
trait Matchable
class Any
Known subtypes
class StdCodecs.this.PairsMapCodec[K, V]
class StdCodecs.this.TupleCodec[T]
final class ListElementReadFailed extends ReadFailure

Attributes

Source
Failures.scala
Supertypes
class ReadFailure
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
trait ListInput extends SequentialInput

Attributes

Source
Input.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
Output.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait MCodec[T]

Attributes

Companion
object
Source
MCodec.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Deferred[T]
trait NullSafeCodec[T]
trait ListCodec[T]
class StdCodecs.this.PairsMapCodec[K, V]
class StdCodecs.this.TupleCodec[T]
trait ObjectCodec[T]
class FlatSumCodec[T]
class StdCodecs.this.ObjectMapCodec[K, V]
class NestedSumCodec[T]
class ProductCodec[T]
class SingletonCodec[T]
trait SimpleCodec[T]
class EnumStringCodec[T]
object StdCodecs.this.bigIntCodec
object StdCodecs.this.booleanCodec
object StdCodecs.this.byteCodec
object StdCodecs.this.charCodec
object StdCodecs.this.dateCodec
object StdCodecs.this.doubleCodec
object StdCodecs.this.floatCodec
object StdCodecs.this.intCodec
object StdCodecs.this.longCodec
object StdCodecs.this.shortCodec
object StdCodecs.this.stringCodec
object StdCodecs.this.symbolCodec
object StdCodecs.this.uuidCodec
class TransparentCodec[T, E]
Show all
Self type
MCodec[T]

Attributes

Companion
trait
Source
MCodec.scala
Supertypes
trait Derivation
trait JavaCodecs
trait ManualCodecs
trait StdCodecs
class Object
trait Matchable
class Any
Show all
Self type
MCodec.type
trait MKeyCodec[K]

Attributes

Companion
object
Source
MKeyCodec.scala
Supertypes
class Object
trait Matchable
class Any
object MKeyCodec

Attributes

Companion
trait
Source
MKeyCodec.scala
Supertypes
class Object
trait Matchable
class Any
Self type
MKeyCodec.type
trait ManualCodecs

Attributes

Source
ManualCodecs.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MCodec
final class MapFieldReadFailed extends ReadFailure

Attributes

Source
Failures.scala
Supertypes
class ReadFailure
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
object Marker

Attributes

Companion
trait
Source
Marker.scala
Supertypes
class Object
trait Matchable
class Any
Self type
Marker.type
trait Marker

Attributes

Companion
object
Source
Marker.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
final class MissingCase(reason: String, path: List[PathSegment], rootType: String | Null, cause: Throwable | Null) extends ReadFailure

Attributes

Source
Failures.scala
Supertypes
class ReadFailure
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final class MissingField extends ReadFailure

Attributes

Source
Failures.scala
Supertypes
class ReadFailure
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
final class NestedSumCodec[T](typeName: String, caseNames: Array[String], caseCodecs: => Array[MCodec[Any]], ordinalOf: T => Int, defaultCaseIdx: Int) extends ObjectCodec[T], SizedCodec[T]

Attributes

Source
DerivedCodecs.scala
Supertypes
trait SizedCodec[T]
trait ObjectCodec[T]
trait NullSafeCodec[T]
trait MCodec[T]
class Object
trait Matchable
class Any
Show all
final class NotSingleField extends ReadFailure

Attributes

Source
Failures.scala
Supertypes
class ReadFailure
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
trait NullSafeCodec[T] extends MCodec[T]

Attributes

Source
BaseCodecs.scala
Supertypes
trait MCodec[T]
class Object
trait Matchable
class Any
Known subtypes
trait ListCodec[T]
class StdCodecs.this.PairsMapCodec[K, V]
class StdCodecs.this.TupleCodec[T]
trait ObjectCodec[T]
class FlatSumCodec[T]
class StdCodecs.this.ObjectMapCodec[K, V]
class NestedSumCodec[T]
class ProductCodec[T]
class SingletonCodec[T]
trait SimpleCodec[T]
class EnumStringCodec[T]
object StdCodecs.this.bigIntCodec
object StdCodecs.this.booleanCodec
object StdCodecs.this.byteCodec
object StdCodecs.this.charCodec
object StdCodecs.this.dateCodec
object StdCodecs.this.doubleCodec
object StdCodecs.this.floatCodec
object StdCodecs.this.intCodec
object StdCodecs.this.longCodec
object StdCodecs.this.shortCodec
object StdCodecs.this.stringCodec
object StdCodecs.this.symbolCodec
object StdCodecs.this.uuidCodec
Show all
trait ObjectCodec[T] extends NullSafeCodec[T]

Attributes

Source
BaseCodecs.scala
Supertypes
trait NullSafeCodec[T]
trait MCodec[T]
class Object
trait Matchable
class Any
Known subtypes
class FlatSumCodec[T]
class StdCodecs.this.ObjectMapCodec[K, V]
class NestedSumCodec[T]
class ProductCodec[T]
class SingletonCodec[T]

Attributes

Source
Input.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
Output.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Output

Attributes

Source
Output.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
Output.scala
Supertypes
trait SimpleOutput
trait Output
class Object
trait Matchable
class Any
Known subtypes
class CborOutput
class JsonOutput
object PathSegment

Attributes

Companion
enum
Source
Failures.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Attributes

Companion
object
Source
Failures.scala
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final class ProductCodec[T](typeName: String, labels: Array[String], childCodecsByName: => Array[MCodec[Any]], defaults: Array[Option[Any]], optionalFlags: Array[Boolean], isOption: Array[Boolean], transientDefaultFlags: Array[Boolean], outOfOrderFlags: Array[Boolean], fromArray: Array[Any] => T, genLabels: Array[String], genGetters: Array[T => Any], genCodecsByName: => Array[MCodec[Any]]) extends ObjectCodec[T], SizedCodec[T]

Attributes

Source
DerivedCodecs.scala
Supertypes
trait SizedCodec[T]
trait ObjectCodec[T]
trait NullSafeCodec[T]
trait MCodec[T]
class Object
trait Matchable
class Any
Show all

Attributes

Companion
object
Source
Failures.scala
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
object ReadFailure

Attributes

Companion
class
Source
Failures.scala
Supertypes
class Object
trait Matchable
class Any
Self type
final class ReplayObjectInput(fields: Vector[(String, CapturedValue)]) extends ObjectInput

Attributes

Source
Replay.scala
Supertypes
trait ObjectInput
class Object
trait Matchable
class Any

Attributes

Source
Input.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Attributes

Source
Output.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SimpleCodec[T] extends NullSafeCodec[T]

Attributes

Source
BaseCodecs.scala
Supertypes
trait NullSafeCodec[T]
trait MCodec[T]
class Object
trait Matchable
class Any
Known subtypes
class EnumStringCodec[T]
object StdCodecs.this.bigIntCodec
object StdCodecs.this.booleanCodec
object StdCodecs.this.byteCodec
object StdCodecs.this.charCodec
object StdCodecs.this.dateCodec
object StdCodecs.this.doubleCodec
object StdCodecs.this.floatCodec
object StdCodecs.this.intCodec
object StdCodecs.this.longCodec
object StdCodecs.this.shortCodec
object StdCodecs.this.stringCodec
object StdCodecs.this.symbolCodec
object StdCodecs.this.uuidCodec
Show all
trait SimpleInput

Attributes

Source
Input.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait SimpleOutput

Attributes

Source
Output.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
final class SingletonCodec[T](val value: T) extends ObjectCodec[T], SizedCodec[T]

Attributes

Source
DerivedCodecs.scala
Supertypes
trait SizedCodec[T]
trait ObjectCodec[T]
trait NullSafeCodec[T]
trait MCodec[T]
class Object
trait Matchable
class Any
Show all
trait SizedCodec[T]

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 Object
trait Matchable
class Any
Known subtypes
class FlatSumCodec[T]
class NestedSumCodec[T]
class ProductCodec[T]
class SingletonCodec[T]
trait StdCodecs

Attributes

Source
StdCodecs.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object MCodec
final class TransparentCodec[T, E](wrap: E => T, unwrap: T => E, inner: MCodec[E]) extends MCodec[T]

Attributes

Source
DerivedCodecs.scala
Supertypes
trait MCodec[T]
class Object
trait Matchable
class Any
final class UnknownCase(reason: String, path: List[PathSegment], rootType: String | Null, cause: Throwable | Null) extends ReadFailure

Attributes

Source
Failures.scala
Supertypes
class ReadFailure
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all
class WriteFailure(msg: String, cause: Throwable | Null) extends RuntimeException

Attributes

Source
Failures.scala
Supertypes
class Exception
class Throwable
trait Serializable
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

inline def withSegment[A](seg: PathSegment)(inline body: A): A

Attributes

Source
Failures.scala

Extensions

Extensions

extension (out: Output)
def withMarkers(markers: Marker*): Output

Attributes

Source
Marker.scala