class ResourceCodec[From, A, +To <: ResourceLike] extends ResourceDecoder[From, A] with ResourceEncoder[A, To]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ResourceCodec
- ResourceEncoder
- Encoder
- ContextualDecoder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ResourceCodec(decoder: ResourceDecoder[From, A], encoder: ResourceEncoder[A, To])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def andThen[NewOut](fn: (A) => DecodeResult[NewOut]): ContextualDecoder[From, NewOut, Document]
- Definition Classes
- ContextualDecoder
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def contramap[C](fn: (C) => A): Encoder[C, To]
- Definition Classes
- Encoder
- def decode(from: From, context: Document): DecodeResult[A]
- Definition Classes
- ResourceCodec → ContextualDecoder
- val decoder: ResourceDecoder[From, A]
- def encode(in: A): To
- Definition Classes
- ResourceEncoder → Encoder
- def encodeInfallibly(in: A, includeSpec: InfallibleIncludeSpec = IncludeSpec.Opportunistically, fieldsSpec: InfallibleFieldsSpec = FieldsSpec.All): Encoded[To]
- Definition Classes
- ResourceEncoder
- def encodeResource(in: A, includeSpec: IncludeSpec, fieldsSpec: FieldsSpec): EncodeResult[PartiallyEncoded[To]]
- Definition Classes
- ResourceCodec → ResourceEncoder
- val encoder: ResourceEncoder[A, To]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[NewOut](fn: (A) => NewOut): ContextualDecoder[From, NewOut, Document]
- Definition Classes
- ContextualDecoder
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit def toDecoder: ContextualDecoder[From, A, Document]
- implicit def toEncoder: ResourceEncoder[A, To]
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated