Class/Object

eu.shiftforward.apso.json

JsonHMapKey

Related Docs: object JsonHMapKey | package json

Permalink

abstract class JsonHMapKey[V] extends HMapKey[V]

A key of a JsonHMap.

V

the type of the value associated with this key

Annotations
@deprecated
Deprecated

(Since version 2017/07/13) This will be removed in a future version

Linear Supertypes
HMapKey[V], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonHMapKey
  2. HMapKey
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JsonHMapKey(sym: Symbol)(implicit reg: JsonKeyRegistry, jsonFormat: JsonFormat[V])

    Permalink

    creates a new key and adds it to a registry.

    creates a new key and adds it to a registry.

    sym

    the JSON key associated with this map key

    reg

    the registry with which this key is to be associated

    jsonFormat

    a JsonFormat which enables a key to serialize and deserialize its associated value

Type Members

  1. type Value = V

    Permalink

    The type of the value associated with this key.

    The type of the value associated with this key. Useful in cases where the type parameter of this key is lost because of type erasure.

    Definition Classes
    HMapKey

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. final def equals(oth: Any): Boolean

    Permalink
    Definition Classes
    HMapKey → AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. val sym: Symbol

    Permalink

    the JSON key associated with this map key

  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. lazy val toHMapKey: HMapKey[Value]

    Permalink

    Returns a stable copy of this HMapKey without the JSON support.

    Returns a stable copy of this HMapKey without the JSON support. Useful for creating serializable equivalent keys.

    returns

    a stable copy of this HMapKey without the JSON support.

  18. def toJson(v: Value): JsValue

    Permalink

    Converts an object of this key's value type to JSON.

    Converts an object of this key's value type to JSON.

    v

    the object to convert

    returns

    the given object as a JSON value.

  19. def toKey: JsonHMapKey[Value]

    Permalink

    Returns this key, typed as a key associated with values of type Value.

    Returns this key, typed as a key associated with values of type Value.

    returns

    this key, typed as a key associated with values of type Value.

    Definition Classes
    JsonHMapKeyHMapKey
  20. def toString(): String

    Permalink
    Definition Classes
    JsonHMapKey → AnyRef → Any
  21. def toValue(v: JsValue): Value

    Permalink

    Converts a JSON value to an object of this key's value type.

    Converts a JSON value to an object of this key's value type.

    v

    the JSON value to convert

    returns

    the given JSON value as an object.

  22. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HMapKey[V]

Inherited from AnyRef

Inherited from Any

Ungrouped