net.liftweb.json

Formats

trait Formats extends AnyRef

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

implicit val formats = net.liftweb.json.DefaultFormats

Self Type
Formats
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. abstract val dateFormat: DateFormat

Concrete 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. def +[A](newSerializer: FieldSerializer[A])(implicit mf: Manifest[A]): Formats

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

  5. def +(newSerializer: net.liftweb.json.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[net.liftweb.json.Serializer[_]]): Formats

    Adds the specified custom serializers to this formats.

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

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

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

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def customDeserializer(implicit format: Formats): PartialFunction[(TypeInfo, JValue), Any]

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

  14. val customSerializers: List[net.liftweb.json.Serializer[_]]

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

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

    Definition Classes
    AnyRef → Any
  17. val fieldSerializers: List[(Class[_], net.liftweb.json.FieldSerializer[_])]

  18. def finalize(): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  25. val parameterNameReader: ParameterNameReader

    Parameter name reading strategy.

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

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

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. val typeHintFieldName: String

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

  29. val typeHints: TypeHints

  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any