OptionWriter

upickle.implicits.Writers.OptionWriter
trait OptionWriter[T] extends Writer[Option[T]]

Attributes

Graph
Supertypes
trait Writer[Option[T]]
trait Transformer[Option[T]]
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

def comap[U](f: U => Option[T]): MapWriter[U, Option[T]]

Attributes

Inherited from:
Writer
def comapNulls[U](f: U => Option[T]): MapWriterNulls[U, Option[T]]

Attributes

Inherited from:
Writer
def isJsonDictKey: Boolean

Whether or not the type being written can be used as a key in a JSON dictionary. Opt-in, and only applicable to writers that write primitive types like strings, booleans, numbers, etc..

Whether or not the type being written can be used as a key in a JSON dictionary. Opt-in, and only applicable to writers that write primitive types like strings, booleans, numbers, etc..

Attributes

Inherited from:
Writer
def narrow[K]: Types.this.Writer[K]

Attributes

Inherited from:
Writer
def transform[V](v: Option[T], out: Visitor[_, V]): V

Attributes

Inherited from:
Writer
def write[V](out: Visitor[_, V], v: Option[T]): V

Attributes

Inherited from:
Writer

Inherited and Abstract methods

def write0[V](out: Visitor[_, V], v: Option[T]): V

Attributes

Inherited from:
Writer