org.json4s

Formats

trait Formats extends AnyRef

Formats to use when converting JSON. Formats are usually configured by using an implicit parameter:

implicit val formats = org.json4s.DefaultFormats

Self Type
Formats
Annotations
@implicitNotFound( ... )
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Formats
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Abstract Value Members

  1. def dateFormat : DateFormat

    Attributes
    abstract

Concrete Value Members

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def + [A] (newSerializer: FieldSerializer[A])(implicit mf: Manifest[A]): Formats

    Adds a field serializer for a given type to this formats.

  5. def + (newSerializer: org.json4s.Serializer[_]): Formats

    Adds the specified custom serializer to this formats.

  6. def + (extraHints: TypeHints): Formats

    Adds the specified type hints to this formats.

  7. def ++ (newSerializers: Traversable[org.json4s.Serializer[_]]): Formats

    Adds the specified custom serializers to this formats.

  8. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  10. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  11. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def companions : List[(Class[_], AnyRef)]

  13. def customDeserializer (implicit format: Formats): PartialFunction[(TypeInfo, JValue), Any]

  14. def customSerializer (implicit format: Formats): PartialFunction[Any, JValue]

  15. def customSerializers : List[org.json4s.Serializer[_]]

  16. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  17. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def fieldSerializers : List[(Class[_], org.json4s.FieldSerializer[_])]

  19. def finalize (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  21. def hashCode (): Int

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

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

    Attributes
    final
    Definition Classes
    AnyRef
  24. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  25. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  26. def parameterNameReader : ParameterNameReader

    Parameter name reading strategy.

    Parameter name reading strategy. By default 'paranamer' is used.

  27. def primitives : Set[Type]

  28. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  29. def toString (): String

    Definition Classes
    AnyRef → Any
  30. def typeHintFieldName : String

    The name of the field in JSON where type hints are added (jsonClass by default)

  31. def typeHints : TypeHints

  32. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  35. def wantsBigDecimal : Boolean

  36. def withBigDecimal : Formats

  37. def withCompanions (comps: (Class[_], AnyRef)*): Formats

  38. def withDouble : Formats

Inherited from AnyRef

Inherited from Any