eitherToJsonValue

given eitherToJsonValue[A, B, M <: (Either)](using val left: JsonOutput[A])(using val right: JsonOutput[B]): JsonOutput[M[A, B]]

Converts Right to JsonValue using right converter or converts Left using left.

Value members

Concrete methods

def write(value: M[A, B]): JsonValue

Converts to JSON value.

Converts to JSON value.

Concrete fields

protected
protected