NativeConverter

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

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

Helper method so summoning NativeConverters may be done with NativeConverter[A].fromNative(..), instead of summon[NativeConverter[A]].fromNative(..).

Helper method so summoning NativeConverters may be done with NativeConverter[A].fromNative(..), instead of summon[NativeConverter[A]].fromNative(..).

Givens

Givens

given arrayConv[A](implicit evidence$2: ClassTag[A], val nc: NativeConverter[A]): NativeConverter[Array[A]]
given booleanConv: NativeConverter[Boolean]
given bufferConv[A](using val nc: NativeConverter[A]): NativeConverter[Buffer[A]]
given derived

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: <br> given NativeConverter[User] = NativeConverter.derived <br> 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: <br> given NativeConverter[User] = NativeConverter.derived <br> Only Sum and Product types are supported

given doubleConv: 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.

given f10Conv[A, B, C, D, E, F, G, H, I, J, K]: NativeConverter[(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]: NativeConverter[(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]: NativeConverter[(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]: NativeConverter[(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]: NativeConverter[(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]: NativeConverter[(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]: NativeConverter[(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]: NativeConverter[(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]: NativeConverter[(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]: NativeConverter[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S) => T]
given f1Conv[A, B]: NativeConverter[A => B]
given f21Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V]: NativeConverter[(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]: NativeConverter[(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]: NativeConverter[(A, B) => C]
given f3Conv[A, B, C, D]: NativeConverter[(A, B, C) => D]
given f4Conv[A, B, C, D, E]: NativeConverter[(A, B, C, D) => E]
given f5Conv[A, B, C, D, E, F]: NativeConverter[(A, B, C, D, E) => F]
given f6Conv[A, B, C, D, E, F, G]: NativeConverter[(A, B, C, D, E, F) => G]
given f7Conv[A, B, C, D, E, F, G, H]: NativeConverter[(A, B, C, D, E, F, G) => H]
given f8Conv[A, B, C, D, E, F, G, H, I]: NativeConverter[(A, B, C, D, E, F, G, H) => I]
given f9Conv[A, B, C, D, E, F, G, H, I, J]: NativeConverter[(A, B, C, D, E, F, G, H, I) => J]
given fConv[A]: NativeConverter[() => A]
given floatConv: 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.

given iArrayConv[A](implicit evidence$3: ClassTag[A], val nc: NativeConverter[A]): NativeConverter[IArray[A]]
given immutableMapConv[A](using val nc: NativeConverter[A]): NativeConverter[Map[String, A]]
given immutableSeqConv[A](using val nc: NativeConverter[A]): NativeConverter[Seq[A]]
given immutableSetConv[A](using val nc: NativeConverter[A]): NativeConverter[Set[A]]
given iterableConv[A](using val nc: NativeConverter[A]): NativeConverter[Iterable[A]]
given listConv[A](using val nc: NativeConverter[A]): NativeConverter[List[A]]
given mapConv[A](using val nc: NativeConverter[A]): NativeConverter[Map[String, A]]
given optionConv[A](using val nc: NativeConverter[A]): NativeConverter[Option[A]]
given seqConv[A](using val nc: NativeConverter[A]): NativeConverter[Seq[A]]
given setConv[A](using val nc: NativeConverter[A]): NativeConverter[Set[A]]
given shortConv: NativeConverter[Short]
given stringConv: NativeConverter[String]