trait ReprAsObjectEncoder[A] extends AsObject[A]
An encoder for a generic representation of a case class or ADT.
Note that users typically will not work with instances of this class.
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReprAsObjectEncoder
- AsObject
- AsRoot
- Encoder
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
- abstract def configuredEncodeObject(a: A)(transformMemberNames: (String) ⇒ String, transformDiscriminator: (String) ⇒ String, discriminator: Option[String]): JsonObject
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
addDiscriminator[B](encode: Encoder[B], value: B, name: String, discriminator: Option[String]): JsonObject
- Attributes
- protected[this]
-
final
def
apply(a: A): Json
- Definition Classes
- AsObject → Encoder
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
contramap[B](f: (B) ⇒ A): Encoder[B]
- Definition Classes
- Encoder
-
final
def
contramapObject[B](f: (B) ⇒ A): AsObject[B]
- Definition Classes
- AsObject
-
final
def
encodeObject(a: A): JsonObject
- Definition Classes
- ReprAsObjectEncoder → AsObject
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
mapJson(f: (Json) ⇒ Json): Encoder[A]
- Definition Classes
- Encoder
-
final
def
mapJsonObject(f: (JsonObject) ⇒ JsonObject): AsObject[A]
- Definition Classes
- AsObject
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )