key

case class key(s: String) extends StaticAnnotation

May be used on either:

  1. subclasses to override discriminator values (default: FQCN)
  2. class fields to override field name.
See also
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product