optionToJsonValue
given optionToJsonValue[T, M <: ([T] =>> Option[T])](using val convert: JsonOutput[T]): JsonOutput[M[T]]
Converts Some
to JsonValue
or returns JsonNull
if None
.
Converts Some
to JsonValue
or returns JsonNull
if None
.