leftToJsonValue

given leftToJsonValue[T](using val convert: JsonOutput[T]): JsonOutput[Left[T, _]]

Converts Left to JsonValue.

Value members

Concrete methods

def apply(value: Left[T, _]): JsonValue

Converts to JSON value.

Converts to JSON value.

Inherited methods

@unspecialized
def andThen[A](g: JsonValue => A): Left[T, _] => A
Inherited from
Function1
@unspecialized
def compose[A](g: A => Left[T, _]): A => JsonValue
Inherited from
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from
Function1

Concrete fields

protected val convert: JsonOutput[T]

Extensions

Inherited extensions

extension (x: T)

x.convert converts a value x of type T to type U

x.convert converts a value x of type T to type U

Inherited from
Conversion