tupleToJsonField

given tupleToJsonField[T](using val convert: JsonOutput[T]): Conversion[(String, T), (String, JsonValue)]

Converts (String, T) to (String, JsonValue).

Value members

Concrete methods

def apply(value: (String, T)): (String, JsonValue)

Convert value x of type T to type U

Convert value x of type T to type U

Inherited methods

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

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