JsonKeyCodec

org.sigilaris.core.codec.json.JsonKeyCodec
See theJsonKeyCodec companion trait
object JsonKeyCodec

Attributes

Companion
trait
Source
JsonKeyCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object bigDecimalKey extends JsonKeyCodec[BigDecimal]

Key codec for BigDecimal (toString / parse).

Key codec for BigDecimal (toString / parse).

Attributes

Source
JsonKeyCodec.scala
Supertypes
trait JsonKeyCodec[BigDecimal]
class Object
trait Matchable
class Any
Self type
object bigIntKey extends JsonKeyCodec[BigInt]

Key codec for BigInt (toString / parse).

Key codec for BigInt (toString / parse).

Attributes

Source
JsonKeyCodec.scala
Supertypes
trait JsonKeyCodec[BigInt]
class Object
trait Matchable
class Any
Self type
bigIntKey.type
object doubleKey extends JsonKeyCodec[Double]

Key codec for Double (toString / parse).

Key codec for Double (toString / parse).

Attributes

Source
JsonKeyCodec.scala
Supertypes
trait JsonKeyCodec[Double]
class Object
trait Matchable
class Any
Self type
doubleKey.type
object intKey extends JsonKeyCodec[Int]

Key codec for Int (toString / parse).

Key codec for Int (toString / parse).

Attributes

Source
JsonKeyCodec.scala
Supertypes
trait JsonKeyCodec[Int]
class Object
trait Matchable
class Any
Self type
intKey.type
object longKey extends JsonKeyCodec[Long]

Key codec for Long (toString / parse).

Key codec for Long (toString / parse).

Attributes

Source
JsonKeyCodec.scala
Supertypes
trait JsonKeyCodec[Long]
class Object
trait Matchable
class Any
Self type
longKey.type
object stringKey extends JsonKeyCodec[String]

Key codec for String (identity).

Key codec for String (identity).

Attributes

Source
JsonKeyCodec.scala
Supertypes
trait JsonKeyCodec[String]
class Object
trait Matchable
class Any
Self type
stringKey.type
object uuidKey extends JsonKeyCodec[UUID]

Key codec for UUID (toString / fromString).

Key codec for UUID (toString / fromString).

Attributes

Source
JsonKeyCodec.scala
Supertypes
trait JsonKeyCodec[UUID]
class Object
trait Matchable
class Any
Self type
uuidKey.type

Value members

Concrete methods

def apply[K](using ev: JsonKeyCodec[K]): JsonKeyCodec[K]

Summons a key codec for the given type.

Summons a key codec for the given type.

Attributes

Example
 val codec = JsonKeyCodec[Int]
Source
JsonKeyCodec.scala

Givens

Givens

Key codec for BigDecimal (toString / parse).

Key codec for BigDecimal (toString / parse).

Attributes

Source
JsonKeyCodec.scala

Key codec for BigInt (toString / parse).

Key codec for BigInt (toString / parse).

Attributes

Source
JsonKeyCodec.scala

Key codec for Double (toString / parse).

Key codec for Double (toString / parse).

Attributes

Source
JsonKeyCodec.scala
given intKey: intKey

Key codec for Int (toString / parse).

Key codec for Int (toString / parse).

Attributes

Source
JsonKeyCodec.scala
given longKey: longKey

Key codec for Long (toString / parse).

Key codec for Long (toString / parse).

Attributes

Source
JsonKeyCodec.scala

Key codec for String (identity).

Key codec for String (identity).

Attributes

Source
JsonKeyCodec.scala
given uuidKey: uuidKey

Key codec for UUID (toString / fromString).

Key codec for UUID (toString / fromString).

Attributes

Source
JsonKeyCodec.scala