OptionDeserializer

fm.serializer.OptionDeserializer
final case class OptionDeserializer[A]()(implicit deser: Deserializer[A]) extends Deserializer[Option[A]]

For deserializing Option types. Note: this does NOT allow Some(null)

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Deserializer[Option[A]]
trait NestedDeserializer[Option[A]]
trait RawDeserializer[Option[A]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def defaultValue: Option[A]

The default value to use if we don't read a value

The default value to use if we don't read a value

Attributes

final def deserializeNested(input: NestedInput): Option[A]
final def deserializeRaw(input: RawInput): Option[A]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product