NativeConverter

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

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

Givens

Givens

given ArrayConv[A]: NativeConverter[Array[A]]
given BufferConv[A]: NativeConverter[Buffer[A]]

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 F0Conv[A]: NativeConverter[() => A]
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 F20Conv[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U]: NativeConverter[(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]: 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]

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]: NativeConverter[IArray[A]]
given ImmutableMapConv[A]: NativeConverter[Map[String, A]]
given IterableConv[A]: NativeConverter[Iterable[A]]
given ListConv[A]: NativeConverter[List[A]]
given MapConv[A]: NativeConverter[Map[String, A]]
given OptionCodec[A]: NativeConverter[Option[A]]
given SeqConv[A]: NativeConverter[Seq[A]]
given SetCodec[A]: NativeConverter[Set[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:
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