NTObjWriter

viz.Macros.NTObjWriter
final class NTObjWriter[N <: Tuple, V <: Tuple](fieldNames: => Tuple, fieldWriters: => Tuple) extends ObjectWriter[NamedTuple[N, V]]

Attributes

Graph
Supertypes
trait ObjectWriter[NamedTuple[N, V]]
trait Writer[NamedTuple[N, V]]
trait Transformer[NamedTuple[N, V]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def length(v: NamedTuple[N, V]): Int

Attributes

Definition Classes
ObjectWriter
override def write0[V1](out: Visitor[_, V1], v: NamedTuple[N, V]): V1

Attributes

Definition Classes
Writer
override def writeToObject[R](ctx: ObjVisitor[_, R], v: NamedTuple[N, V]): Unit

Attributes

Definition Classes
ObjectWriter

Inherited methods

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

Attributes

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

Attributes

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

Attributes

Inherited from:
Writer