t

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
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Formats
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val 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])(implicit mf: Manifest[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 customDeserializer(implicit format: Formats): PartialFunction[(TypeInfo, JValue), Any]
  11. def customSerializer(implicit format: Formats): PartialFunction[Any, JValue]
  12. val customSerializers: List[Serializer[_]]
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. val fieldSerializers: List[(Class[_], FieldSerializer[_])]
  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. val parameterNameReader: ParameterNameReader

    Parameter name reading strategy.

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

  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. val tuplesAsArrays: Boolean

    Support for the tuple decomposition/extraction that represents tuples as JSON arrays.

    Support for the tuple decomposition/extraction that represents tuples as JSON arrays. This provides better support for heterogenous arrays in JSON, but enable it at your own risk as it does change the behavior of serialization/deserialization and comes with some caveats (such as Scala primitives not being recognized reliably during extraction).

  27. val typeHintFieldName: String

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

  28. val typeHints: TypeHints
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped