CaseClassWriter

upickle.implicits.CaseClassReadWriters.CaseClassWriter
trait CaseClassWriter[V] extends ObjectWriter[V]

Attributes

Graph
Supertypes
trait ObjectWriter[V]
trait Writer[V]
trait Transformer[V]
class Object
trait Matchable
class Any
Show all
Known subtypes
class SingletonWriter[T]

Members list

Value members

Abstract methods

def length(v: V): Int

Concrete methods

def write0[R](out: Visitor[_, R], v: V): R
def writeSnippetMappedName[R, V](ctx: ObjVisitor[_, R], mappedArgsI: CharSequence, w: Any, value: Any): Unit

Inherited methods

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

Attributes

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

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: V, out: Visitor[_, V]): V

Attributes

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

Attributes

Inherited from:
Writer

Inherited and Abstract methods

def writeToObject[R](ctx: ObjVisitor[_, R], v: V): Unit

Attributes

Inherited from:
ObjectWriter