CaseClassWriter

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

Attributes

Graph
Supertypes
trait ObjectWriter[V]
trait Writer[V]
class Object
trait Matchable
class Any
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

Deprecated methods

def writeSnippet[R, V](objectAttributeKeyWriteMap: CharSequence => CharSequence, ctx: ObjVisitor[_, R], mappedArgsI: String, w: Any, value: Any): Unit

Attributes

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

Attributes

Deprecated
true

Inherited methods

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

Attributes

Inherited from:
Writer
def comapNulls[U](f: U => V): 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: V, out: Visitor[_, V]): V

Attributes

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

Attributes

Inherited from:
Writer