rightToJsonValue

given rightToJsonValue[T](using val convert: JsonOutput[T]): JsonOutput[Right[_, T]]

Converts Right to JsonValue.

Value members

Concrete methods

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

Converts to JSON value.

Converts to JSON value.

Inherited methods

@unspecialized
def andThen[A](g: JsonValue => A): Right[_, T] => A
Inherited from
Function1
@unspecialized
def compose[A](g: A => Right[_, 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