object DefaultFormats extends DefaultFormats
- Alphabetic
- By Inheritance
- DefaultFormats
- DefaultFormats
- Formats
- Serializable
- Serializable
- 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]): 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: KeySerializer[_]): Formats
Adds the specified custom key serializer to this formats.
Adds the specified custom key serializer 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: Iterable[Serializer[_]]): Formats
Adds the specified custom serializers to this formats.
Adds the specified custom serializers to this formats.
- Definition Classes
- Formats
-
def
-(serializer: Serializer[_]): Formats
Removes the specified custom serializer from this formats.
Removes the specified custom serializer from this formats.
- Definition Classes
- Formats
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val UTC: TimeZone
-
def
addKeySerializers(newKeySerializers: Iterable[KeySerializer[_]]): Formats
Adds the specified custom serializers to this formats.
Adds the specified custom serializers to this formats.
- Definition Classes
- Formats
-
val
allowNull: Boolean
- Definition Classes
- DefaultFormats → Formats
-
def
alwaysEscapeUnicode: Boolean
- Definition Classes
- Formats
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
val
companions: List[(Class[_], AnyRef)]
- Definition Classes
- DefaultFormats → Formats
-
val
customKeySerializers: List[KeySerializer[_]]
- Definition Classes
- DefaultFormats → Formats
-
val
customSerializers: List[Serializer[_]]
- Definition Classes
- DefaultFormats → Formats
-
val
dateFormat: DateFormat
- Definition Classes
- DefaultFormats → Formats
-
def
dateFormatter: SimpleDateFormat
- Attributes
- protected
- Definition Classes
- DefaultFormats
-
def
disallowNull: Formats
- Definition Classes
- Formats
-
val
emptyValueStrategy: EmptyValueStrategy
- Definition Classes
- DefaultFormats → Formats
-
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
- DefaultFormats → 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
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
lossless: Formats
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
-
def
nonStrict: Formats
- Definition Classes
- Formats
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
parameterNameReader: reflect.ParameterNameReader
Parameter name reading strategy.
Parameter name reading strategy. By default 'paranamer' is used.
- Definition Classes
- DefaultFormats → Formats
-
def
preservingEmptyValues: Formats
- Definition Classes
- Formats
-
val
primitives: Set[Type]
- Definition Classes
- DefaultFormats → Formats
-
def
skippingEmptyValues: Formats
- Definition Classes
- Formats
-
def
strict: Formats
- Definition Classes
- Formats
-
def
strictArrayExtraction: Boolean
- Definition Classes
- Formats
-
val
strictOptionParsing: Boolean
- Definition Classes
- DefaultFormats → Formats
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- DefaultFormats → Formats
-
val
typeHints: TypeHints
- Definition Classes
- DefaultFormats → 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
- @native() @throws( ... )
-
val
wantsBigDecimal: Boolean
- Definition Classes
- DefaultFormats → Formats
-
val
wantsBigInt: Boolean
- Definition Classes
- DefaultFormats → Formats
-
def
withBigDecimal: Formats
- Definition Classes
- Formats
-
def
withBigInt: Formats
- Definition Classes
- Formats
-
def
withCompanions(comps: (Class[_], AnyRef)*): Formats
- Definition Classes
- Formats
-
def
withDouble: Formats
- Definition Classes
- Formats
-
def
withEmptyValueStrategy(strategy: EmptyValueStrategy): Formats
- Definition Classes
- Formats
-
def
withEscapeUnicode: Formats
- Definition Classes
- Formats
-
def
withHints(hints: TypeHints): Formats
Default formats with given
TypeHint
s.Default formats with given
TypeHint
s.- Definition Classes
- DefaultFormats
-
def
withLong: Formats
- Definition Classes
- Formats
-
def
withStrictArrayExtraction: Formats
- Definition Classes
- Formats
-
def
withStrictOptionParsing: Formats
- Definition Classes
- Formats
-
def
withTypeHintFieldName(name: String): Formats
- Definition Classes
- Formats
Deprecated Value Members
-
def
customDeserializer(implicit format: Formats): PartialFunction[(TypeInfo, JValue), Any]
- Definition Classes
- Formats
- Annotations
- @deprecated
- Deprecated
(Since version 3.6.4) Use the internal methods in the companion object instead.
-
def
customKeyDeserializer(implicit format: Formats): PartialFunction[(TypeInfo, String), Any]
- Definition Classes
- Formats
- Annotations
- @deprecated
- Deprecated
(Since version 3.6.4) Use the internal methods in the companion object instead.
-
def
customKeySerializer(implicit format: Formats): PartialFunction[Any, String]
- Definition Classes
- Formats
- Annotations
- @deprecated
- Deprecated
(Since version 3.6.4) Use the internal methods in the companion object instead.
-
def
customSerializer(implicit format: Formats): PartialFunction[Any, JValue]
- Definition Classes
- Formats
- Annotations
- @deprecated
- Deprecated
(Since version 3.6.4) Use the internal methods in the companion object instead.