org.json4s

DefaultFormats

trait DefaultFormats extends Formats

Source
Formats.scala
Linear Supertypes
Formats, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DefaultFormats
  2. Formats
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. 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
  5. 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
  6. def +(newSerializer: Serializer[_]): Formats

    Adds the specified custom serializer to this formats.

    Adds the specified custom serializer to this formats.

    Definition Classes
    Formats
  7. def +(extraHints: TypeHints): Formats

    Adds the specified type hints to this formats.

    Adds the specified type hints to this formats.

    Definition Classes
    Formats
  8. def ++(newSerializers: Iterable[Serializer[_]]): Formats

    Adds the specified custom serializers to this formats.

    Adds the specified custom serializers to this formats.

    Definition Classes
    Formats
  9. def -(serializer: Serializer[_]): Formats

    Removes the specified custom serializer from this formats.

    Removes the specified custom serializer from this formats.

    Definition Classes
    Formats
  10. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  12. 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
  13. val allowNull: Boolean

    Definition Classes
    DefaultFormatsFormats
  14. def alwaysEscapeUnicode: Boolean

    Definition Classes
    Formats
  15. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  16. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  17. val companions: List[(Class[_], AnyRef)]

    Definition Classes
    DefaultFormatsFormats
  18. def customDeserializer(implicit format: Formats): PartialFunction[(TypeInfo, JValue), Any]

    Definition Classes
    Formats
  19. def customKeyDeserializer(implicit format: Formats): PartialFunction[(TypeInfo, String), Any]

    Definition Classes
    Formats
  20. def customKeySerializer(implicit format: Formats): PartialFunction[Any, String]

    Definition Classes
    Formats
  21. val customKeySerializers: List[KeySerializer[_]]

    Definition Classes
    DefaultFormatsFormats
  22. def customSerializer(implicit format: Formats): PartialFunction[Any, JValue]

    Definition Classes
    Formats
  23. val customSerializers: List[Serializer[_]]

    Definition Classes
    DefaultFormatsFormats
  24. val dateFormat: DateFormat

    Definition Classes
    DefaultFormatsFormats
  25. def dateFormatter: SimpleDateFormat

    Attributes
    protected
  26. def disallowNull: Formats

    Definition Classes
    Formats
  27. val emptyValueStrategy: EmptyValueStrategy

    Definition Classes
    DefaultFormatsFormats
  28. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    DefaultFormatsFormats
  31. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  32. def hashCode(): Int

    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  33. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  34. def lossless: Formats

    Lossless date format includes milliseconds too.

  35. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  36. def nonStrict: Formats

    Definition Classes
    Formats
  37. final def notify(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  38. final def notifyAll(): Unit

    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  39. val parameterNameReader: reflect.ParameterNameReader

    Parameter name reading strategy.

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

    Definition Classes
    DefaultFormatsFormats
  40. def preservingEmptyValues: Formats

    Definition Classes
    Formats
  41. val primitives: Set[Type]

    Definition Classes
    DefaultFormatsFormats
  42. def skippingEmptyValues: Formats

    Definition Classes
    Formats
  43. def strict: Formats

    Definition Classes
    Formats
  44. def strictArrayExtraction: Boolean

    Definition Classes
    Formats
  45. val strictOptionParsing: Boolean

    Definition Classes
    DefaultFormatsFormats
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  47. def toString(): String

    Definition Classes
    AnyRef → Any
  48. 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
    DefaultFormatsFormats
  49. val typeHints: TypeHints

    Definition Classes
    DefaultFormatsFormats
  50. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. val wantsBigDecimal: Boolean

    Definition Classes
    DefaultFormatsFormats
  54. val wantsBigInt: Boolean

    Definition Classes
    DefaultFormatsFormats
  55. def withBigDecimal: Formats

    Definition Classes
    Formats
  56. def withBigInt: Formats

    Definition Classes
    Formats
  57. def withCompanions(comps: (Class[_], AnyRef)*): Formats

    Definition Classes
    Formats
  58. def withDouble: Formats

    Definition Classes
    Formats
  59. def withEmptyValueStrategy(strategy: EmptyValueStrategy): Formats

    Definition Classes
    Formats
  60. def withEscapeUnicode: Formats

    Definition Classes
    Formats
  61. def withHints(hints: TypeHints): Formats

    Default formats with given TypeHints.

    Default formats with given TypeHints.

  62. def withLong: Formats

    Definition Classes
    Formats
  63. def withStrictArrayExtraction: Formats

    Definition Classes
    Formats
  64. def withStrictOptionParsing: Formats

    Definition Classes
    Formats
  65. def withTypeHintFieldName(name: String): Formats

    Definition Classes
    Formats

Deprecated Value Members

  1. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Formats

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped