TupleNWriter

upickle.implicits.TupleReadWriters.TupleNWriter
class TupleNWriter[V](val writers: Array[Writer[_]], val f: V => Array[Any]) extends Writer[V]

Attributes

Graph
Supertypes
trait Writer[V]
trait Transformer[V]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

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

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

Concrete fields

val f: V => Array[Any]
val writers: Array[Writer[_]]