spray.json

JsonFormatHints

trait JsonFormatHints extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JsonFormatHints
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait CoproductHint[T] extends AnyRef

  2. class FlatCoproductHint[T] extends CoproductHint[T]

    Product types are disambiguated by a {"key":"value",...}.

  3. sealed trait JsNullBehaviour extends AnyRef

    Sometimes the wire format needs to match an existing format and JsNull behaviour needs to be customised.

  4. class NestedCoproductHint[T] extends CoproductHint[T]

    Product types are disambiguated by an extra JSON map layer containing a single key which is the name of the type of product contained in the value.

  5. trait ProductHint[T] extends AnyRef

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. object AlwaysJsNull extends JsNullBehaviour with Product with Serializable

    All values serialising to JsNull will be included in the wire format.

  7. object AlwaysJsNullTolerateAbsent extends JsNullBehaviour with Product with Serializable

    Same as AlwaysJsNull when serialising, with missing values treated as optional upon deserialisation.

  8. object JsNullNotNone extends JsNullBehaviour with Product with Serializable

    Option values of None are omitted, but Some values of JsNull are retained.

  9. object NeverJsNull extends JsNullBehaviour with Product with Serializable

    No values serialising to JsNull will be included in the wire format.

  10. object UseDefaultJsNull extends JsNullBehaviour with Product with Serializable

    Use the case class default value provided for the field when available.

  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. implicit def coproductHint[T](implicit arg0: Typeable[T]): CoproductHint[T]

  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

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

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

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

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

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. implicit def productHint[T](implicit arg0: Typeable[T]): ProductHint[T]

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

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped