- Companion
- class
Value members
Concrete methods
Givens
Givens
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
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.
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.