ToJson

soidc.jwt.codec.ToJson
See theToJson companion trait
object ToJson

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ToJson.type

Members list

Type members

Classlikes

trait Syntax

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object syntax
object syntax
object syntax extends Syntax

Attributes

Supertypes
trait Syntax
class Object
trait Matchable
class Any
Self type
syntax.type

Value members

Concrete methods

def apply[A](using t: ToJson[A]): ToJson[A]
def instance[A](f: A => JsonValue): ToJson[A]

Concrete fields

val forBool: ToJson[Boolean]
val forNum: ToJson[BigDecimal]
val forString: ToJson[String]

Givens

Givens

given given_ToJson_BigDecimal: ToJson[BigDecimal]
given given_ToJson_Boolean: ToJson[Boolean]
given given_ToJson_Int: ToJson[Int]
given given_ToJson_List[A](using t: ToJson[A]): ToJson[List[A]]
given given_ToJson_Long: ToJson[Long]
given given_ToJson_Map: ToJson[Map[String, JsonValue]]
given given_ToJson_String: ToJson[String]