implicit object BooleanDecoder extends Decoder[Boolean]
- Alphabetic
- By Inheritance
- BooleanDecoder
- Decoder
- Serializable
- SchemaAware
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- 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 decode(value: Any): Boolean
Decodes the given value to an instance of T if possible.
Decodes the given value to an instance of T if possible. Otherwise throw an error.
- Definition Classes
- BooleanDecoder → Decoder
- 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
- 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()
- def resolveDecoder(env: DefinitionEnvironment[Decoder], update: SchemaUpdate): Decoder[Boolean]
For advanced use only to properly setup Decoder instances for recursive types.
For advanced use only to properly setup Decoder instances for recursive types.
Resolves the Decoder with the provided environment, and (potentially) pushes down overrides from annotations on sealed traits to case classes, or from annotations on parameters to types.
- env
definition environment containing already defined record encoders
- update
schema changes to apply
- Definition Classes
- Decoder
- def resolveDecoder(): Decoder[Boolean]
produces a Decoder that is guaranteed to be resolved and ready to be used.
produces a Decoder that is guaranteed to be resolved and ready to be used.
This is necessary for properly setting up Decoder instances for recursive types.
- Definition Classes
- Decoder
- final def schema: Schema
- Definition Classes
- SchemaAware
- val schemaFor: SchemaFor[Boolean]
- Definition Classes
- BooleanDecoder → SchemaAware
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])
- def withSchema(schemaFor: SchemaFor[Boolean]): Decoder[Boolean]
Creates a variant of this Decoder using the given schema (e.g.
Creates a variant of this Decoder using the given schema (e.g. to use a fixed schema for byte arrays instead of the default bytes schema)
- schemaFor
the schema to use
- Definition Classes
- Decoder → SchemaAware
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated