object DefaultFormats extends DefaultFormats
Default date format is UTC time.
- Alphabetic
- By Inheritance
- DefaultFormats
- DefaultFormats
- Formats
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +[A](newSerializer: FieldSerializer[A])(implicit mf: Manifest[A]): Formats
Adds a field serializer for a given type to this formats.
Adds a field serializer for a given type to this formats.
- Definition Classes
- Formats
- def +(newSerializer: Serializer[_]): Formats
Adds the specified custom serializer to this formats.
Adds the specified custom serializer to this formats.
- Definition Classes
- Formats
- def +(extraHints: TypeHints): Formats
Adds the specified type hints to this formats.
Adds the specified type hints to this formats.
- Definition Classes
- Formats
- def ++(newSerializers: Traversable[Serializer[_]]): Formats
Adds the specified custom serializers to this formats.
Adds the specified custom serializers to this formats.
- Definition Classes
- Formats
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val UTC: TimeZone
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def customDeserializer(implicit format: Formats): PartialFunction[(TypeInfo, JValue), Any]
- Definition Classes
- Formats
- def customSerializer(implicit format: Formats): PartialFunction[Any, JValue]
- Definition Classes
- Formats
- val customSerializers: List[Serializer[_]]
- Definition Classes
- Formats
- val dateFormat: DateFormat
- Definition Classes
- DefaultFormats → Formats
- def dateFormatter: SimpleDateFormat
- Attributes
- protected
- Definition Classes
- DefaultFormats
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val fieldSerializers: List[(Class[_], FieldSerializer[_])]
- Definition Classes
- Formats
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lossless: DefaultFormats
Lossless date format includes milliseconds too.
Lossless date format includes milliseconds too.
- Definition Classes
- DefaultFormats
- val losslessDate: ThreadLocal[SimpleDateFormat]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val parameterNameReader: ParameterNameReader
Parameter name reading strategy.
Parameter name reading strategy. By deafult 'paranamer' is used.
- Definition Classes
- Formats
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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).
- Definition Classes
- Formats
- val typeHintFieldName: String
The name of the field in JSON where type hints are added (jsonClass by default)
The name of the field in JSON where type hints are added (jsonClass by default)
- Definition Classes
- Formats
- val typeHints: TypeHints
- Definition Classes
- Formats
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withHints(hints: TypeHints): DefaultFormats
Default formats with given
TypeHints.Default formats with given
TypeHints.- Definition Classes
- DefaultFormats