trait DefaultFormats extends Formats
- Alphabetic
- By Inheritance
- DefaultFormats
- Formats
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
fieldSerializers: List[(Class[_], FieldSerializer[_])]
- Definition Classes
- Formats
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lossless: DefaultFormats
Lossless date format includes milliseconds too.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
withHints(hints: TypeHints): DefaultFormats
Default formats with given
TypeHint
s.