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. Formats
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def dateFormat: DateFormat

Concrete Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def +[A](newSerializer: FieldSerializer[A]): Formats

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

  4. def +(newSerializer: Serializer[_]): Formats

    Adds the specified custom serializer to this formats.

  5. def +(extraHints: TypeHints): Formats

    Adds the specified type hints to this formats.

  6. def ++(newSerializers: Traversable[Serializer[_]]): Formats

    Adds the specified custom serializers to this formats.

  7. final def ==(arg0: Any): Boolean

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

    Definition Classes
    Any
  9. def clone(): AnyRef

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

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

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

  13. def customSerializers: List[Serializer[_]]

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

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

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

  17. def finalize(): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  24. def parameterNameReader: reflect.ParameterNameReader

    Parameter name reading strategy.

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

  25. def primitives: Set[Type]

  26. def strict: Boolean

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

    Definition Classes
    AnyRef
  28. def toString(): String

    Definition Classes
    AnyRef → Any
  29. def typeHintFieldName: String

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

  30. def typeHints: TypeHints

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def wantsBigDecimal: Boolean

  35. def withBigDecimal: Formats

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

  37. def withDouble: Formats

Inherited from AnyRef

Inherited from Any

Ungrouped