Trait

net.liftweb.json

Formats

Related Doc: package json

Permalink

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

    Permalink

Concrete Value Members

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

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

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

    Permalink

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

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

    Permalink

    Adds the specified custom serializer to this formats.

  5. def +(extraHints: TypeHints): Formats

    Permalink

    Adds the specified type hints to this formats.

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

    Permalink

    Adds the specified custom serializers to this formats.

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

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

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

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

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

    Permalink
  12. val customSerializers: List[Serializer[_]]

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. val fieldSerializers: List[(Class[_], FieldSerializer[_])]

    Permalink
  16. def finalize(): Unit

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. val parameterNameReader: ParameterNameReader

    Permalink

    Parameter name reading strategy.

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. val tuplesAsArrays: Boolean

    Permalink

    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

    Permalink

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

  28. val typeHints: TypeHints

    Permalink
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped