JsonCompanion

com.malliina.values.JsonCompanion
abstract class JsonCompanion[Raw, T](implicit d: Decoder[Raw], e: Encoder[Raw], o: Ordering[Raw]) extends ValidatingCompanion[Raw, T]

Attributes

Graph
Supertypes
class ValidatingCompanion[Raw, T]
class Object
trait Matchable
class Any
Known subtypes
class IdCompanion[T]
object UserId.type
object AccessToken.type
object Email.type
object ErrorMessage.type
object IdToken.type
object Password.type
object RefreshToken.type
object UnixPath.type
object Username.type

Members list

Concise view

Value members

Abstract methods

def apply(raw: Raw): T

Concrete methods

override def build(input: Raw): Either[ErrorMessage, T]

Attributes

Definition Classes

Inherited methods

Attributes

Inherited from:
ValidatingCompanion
def write(t: T): Raw

Attributes

Inherited from:
ValidatingCompanion

Implicits

Inherited implicits

implicit val json: Codec[T]

Attributes

Inherited from:
ValidatingCompanion
implicit val ordering: Ordering[T]

Attributes

Inherited from:
ValidatingCompanion