NativeConverter

org.getshaka.nativeconverter.NativeConverter$
See theNativeConverter companion trait

Attributes

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

Members list

Type members

Classlikes

object BooleanConv extends NativeConverter[Boolean]

Attributes

Supertypes
trait NativeConverter[Boolean]
class Object
trait Matchable
class Any
Self type
object ByteConv extends NativeConverter[Byte]

Attributes

Supertypes
trait NativeConverter[Byte]
class Object
trait Matchable
class Any
Self type
ByteConv.type
object CharConv extends NativeConverter[Char]

Attributes

Supertypes
trait NativeConverter[Char]
class Object
trait Matchable
class Any
Self type
CharConv.type
object DoubleConv extends NativeConverter[Double]

Infinity and NaN are not supported, since JSON does not support serializing those values.

Infinity and NaN are not supported, since JSON does not support serializing those values.

Attributes

Supertypes
trait NativeConverter[Double]
class Object
trait Matchable
class Any
Self type
DoubleConv.type
object FloatConv extends NativeConverter[Float]

Infinity and NaN are not supported, since JSON does not support serializing those values.

Infinity and NaN are not supported, since JSON does not support serializing those values.

Attributes

Supertypes
trait NativeConverter[Float]
class Object
trait Matchable
class Any
Self type
FloatConv.type
object IntConv extends NativeConverter[Int]

Attributes

Supertypes
trait NativeConverter[Int]
class Object
trait Matchable
class Any
Self type
IntConv.type
object JSAnyConv extends NativeConverter[Any]

Attributes

Supertypes
trait NativeConverter[Any]
class Object
trait Matchable
class Any
Self type
JSAnyConv.type
object JSDateConv extends NativeConverter[Date]

Attributes

Supertypes
trait NativeConverter[Date]
class Object
trait Matchable
class Any
Self type
JSDateConv.type
object LongConv extends NativeConverter[Long]

Attributes

Supertypes
trait NativeConverter[Long]
class Object
trait Matchable
class Any
Self type
LongConv.type
object NullConv extends NativeConverter[Null]

Attributes

Supertypes
trait NativeConverter[Null]
class Object
trait Matchable
class Any
Self type
NullConv.type
object ShortConv extends NativeConverter[Short]

Attributes

Supertypes
trait NativeConverter[Short]
class Object
trait Matchable
class Any
Self type
ShortConv.type
object StringConv extends NativeConverter[String]

Attributes

Supertypes
trait NativeConverter[String]
class Object
trait Matchable
class Any
Self type
StringConv.type
object UUIDConv extends NativeConverter[UUID]

Attributes

Supertypes
trait NativeConverter[UUID]
class Object
trait Matchable
class Any
Self type
UUIDConv.type

Value members

Concrete methods

inline def apply[A](using nc: NativeConverter[A]): NativeConverter[A]

Givens

Givens

given ArrayConv[A : NativeConverter]: ArrayConv[A]
given BooleanConv: BooleanConv.type
given BufferConv[A : NativeConverter]: BufferConv[A]
given ByteConv: ByteConv.type
given CharConv: CharConv.type
given DoubleConv: DoubleConv.type

Infinity and NaN are not supported, since JSON does not support serializing those values.

Infinity and NaN are not supported, since JSON does not support serializing those values.

Attributes

given F0Conv[A]: F0Conv[A]
given F10Conv[A, B, C, D, E, F, G, H, I, J, K]: F10Conv[A, B, C, D, E, F, G, H, I, J, K]
given F11Conv[A, B, C, D, E, F, G, H, I, J, K, L]: F11Conv[A, B, C, D, E, F, G, H, I, J, K, L]
given F12Conv[A, B, C, D, E, F, G, H, I, J, K, L, M]: F12Conv[A, B, C, D, E, F, G, H, I, J, K, L, M]
given F13Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N]: F13Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N]
given F14Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O]: F14Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O]
given F15Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P]: F15Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P]
given F16Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q]: F16Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q]
given F17Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R]: F17Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R]
given F18Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S]: F18Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S]
given F19Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T]: F19Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T]
given F1Conv[A, B]: F1Conv[A, B]
given F20Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U]: F20Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U]
given F21Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V]: F21Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V]
given F22Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W]: F22Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W]
given F2Conv[A, B, C]: F2Conv[A, B, C]
given F3Conv[A, B, C, D]: F3Conv[A, B, C, D]
given F4Conv[A, B, C, D, E]: F4Conv[A, B, C, D, E]
given F5Conv[A, B, C, D, E, F]: F5Conv[A, B, C, D, E, F]
given F6Conv[A, B, C, D, E, F, G]: F6Conv[A, B, C, D, E, F, G]
given F7Conv[A, B, C, D, E, F, G, H]: F7Conv[A, B, C, D, E, F, G, H]
given F8Conv[A, B, C, D, E, F, G, H, I]: F8Conv[A, B, C, D, E, F, G, H, I]
given F9Conv[A, B, C, D, E, F, G, H, I, J]: F9Conv[A, B, C, D, E, F, G, H, I, J]
given FloatConv: FloatConv.type

Infinity and NaN are not supported, since JSON does not support serializing those values.

Infinity and NaN are not supported, since JSON does not support serializing those values.

Attributes

given IArrayConv[A : NativeConverter]: IArrayConv[A]
given ImmutableMapConv[A : NativeConverter]: ImmutableMapConv[A]
given ImmutableSeqConv[A : NativeConverter]: ImmutableSeqConv[A]
given ImmutableSetCodec[A : NativeConverter]: ImmutableSetCodec[A]
given IntConv: IntConv.type
given IterableConv[A : NativeConverter]: IterableConv[A]
given JSAnyConv: JSAnyConv.type
given JSDateConv: JSDateConv.type
given ListConv[A : NativeConverter]: ListConv[A]
given LongConv: LongConv.type
given MapConv[A : NativeConverter]: MapConv[A]
given NullConv: NullConv.type
given OptionCodec[A : NativeConverter]: OptionCodec[A]
given SeqConv[A : NativeConverter]: SeqConv[A]
given SetCodec[A : NativeConverter]: SetCodec[A]
given ShortConv: ShortConv.type
given StringConv: StringConv.type
given UUIDConv: UUIDConv.type
given VectorConv[A : NativeConverter]: VectorConv[A]
inline given derived[A](using m: Of[A]): NativeConverter[A]

Derive a NativeConverter for type T. This method is called by the compiler automatically when adding derives NativeConverter on a class. You can also use it to derive given instances anywhere, which is useful if Cross-Building a Scala.js project:
given NativeConverter[User] = NativeConverter.derived
Only Sum and Product types are supported

Derive a NativeConverter for type T. This method is called by the compiler automatically when adding derives NativeConverter on a class. You can also use it to derive given instances anywhere, which is useful if Cross-Building a Scala.js project:
given NativeConverter[User] = NativeConverter.derived
Only Sum and Product types are supported

Attributes