ObjectWriter

upickle.core.Types.ObjectWriter
trait ObjectWriter[T] extends Writer[T]

Attributes

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

Members list

Value members

Abstract methods

def length(v: T): Int
def writeToObject[R](ctx: ObjVisitor[_, R], v: T): Unit

Inherited methods

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

Attributes

Inherited from:
Writer
def comapNulls[U](f: U => T): MapWriterNulls[U, 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]: Writer[K]

Attributes

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Writer