Leaf

com.rallyhealth.weepickle.v1.core.Types.TaggedFrom.Leaf
class Leaf[T](c: ClassTag[_], val tagName: String, tag: String, r: CaseW[T]) extends TaggedFrom[T]

Attributes

Graph
Supertypes
trait TaggedFrom[T]
trait Tagged
trait From[T]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def findFrom(v: Any): (String, CaseW[T])

Inherited methods

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

Attributes

Inherited from:
From
def comapNulls[U](f: U => T): MapFromNulls[U, In]

Attributes

Inherited from:
From
def narrow[K]: From[K]

Attributes

Inherited from:
From
def transform[Out](in: T, out: Visitor[_, Out]): Out

Attributes

Inherited from:
From
override def transform0[Out](in: T, out: Visitor[_, Out]): Out

Attributes

Definition Classes
Inherited from:
TaggedFrom

Concrete fields

override val tagName: String

Name of the object key used to identify the subclass tag. Tos will fast path if this is the first field of the object. Otherwise, Tos will have to buffer the content and find the tag later. While naming, consider that some implementations (e.g. vpack) may sort object keys, so symbol prefixes work well for ensuring the tag is the first property.

Name of the object key used to identify the subclass tag. Tos will fast path if this is the first field of the object. Otherwise, Tos will have to buffer the content and find the tag later. While naming, consider that some implementations (e.g. vpack) may sort object keys, so symbol prefixes work well for ensuring the tag is the first property.

Attributes