Trait/Object

org.json4s

DefaultFormats

Related Docs: object DefaultFormats | package json4s

Permalink

trait DefaultFormats extends Formats

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
Visibility
  1. Public
  2. All

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]): Formats

    Permalink

    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
  4. def +(newSerializer: KeySerializer[_]): Formats

    Permalink

    Adds the specified custom key serializer to this formats.

    Adds the specified custom key serializer to this formats.

    Definition Classes
    Formats
  5. def +(newSerializer: Serializer[_]): Formats

    Permalink

    Adds the specified custom serializer to this formats.

    Adds the specified custom serializer to this formats.

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

    Permalink

    Adds the specified type hints to this formats.

    Adds the specified type hints to this formats.

    Definition Classes
    Formats
  7. def ++(newSerializers: Traversable[Serializer[_]]): Formats

    Permalink

    Adds the specified custom serializers to this formats.

    Adds the specified custom serializers to this formats.

    Definition Classes
    Formats
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def addKeySerializers(newKeySerializers: Traversable[KeySerializer[_]]): Formats

    Permalink

    Adds the specified custom serializers to this formats.

    Adds the specified custom serializers to this formats.

    Definition Classes
    Formats
  10. val allowNull: Boolean

    Permalink
    Definition Classes
    DefaultFormatsFormats
  11. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    DefaultFormatsFormats
  20. val dateFormat: DateFormat

    Permalink
    Definition Classes
    DefaultFormatsFormats
  21. def dateFormatter: SimpleDateFormat

    Permalink
    Attributes
    protected
  22. val emptyValueStrategy: EmptyValueStrategy

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

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

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

    Permalink
    Definition Classes
    DefaultFormatsFormats
  26. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  30. def lossless: Formats

    Permalink

    Lossless date format includes milliseconds too.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  34. val parameterNameReader: reflect.ParameterNameReader

    Permalink

    Parameter name reading strategy.

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

    Definition Classes
    DefaultFormatsFormats
  35. def preservingEmptyValues: Formats

    Permalink
    Definition Classes
    Formats
  36. val primitives: Set[Type]

    Permalink
    Definition Classes
    DefaultFormatsFormats
  37. def skippingEmptyValues: Formats

    Permalink
    Definition Classes
    Formats
  38. val strictOptionParsing: Boolean

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  41. val typeHintFieldName: String

    Permalink

    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
  42. val typeHints: TypeHints

    Permalink
    Definition Classes
    DefaultFormatsFormats
  43. final def wait(): Unit

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

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

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

    Permalink
    Definition Classes
    DefaultFormatsFormats
  47. val wantsBigInt: Boolean

    Permalink
    Definition Classes
    DefaultFormatsFormats
  48. def withBigDecimal: Formats

    Permalink
    Definition Classes
    Formats
  49. def withBigInt: Formats

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

    Permalink
    Definition Classes
    Formats
  51. def withDouble: Formats

    Permalink
    Definition Classes
    Formats
  52. def withEmptyValueStrategy(strategy: EmptyValueStrategy): Formats

    Permalink
    Definition Classes
    Formats
  53. def withHints(hints: TypeHints): Formats

    Permalink

    Default formats with given TypeHints.

    Default formats with given TypeHints.

  54. def withLong: Formats

    Permalink
    Definition Classes
    Formats
  55. def withTypeHintFieldName(name: String): Formats

    Permalink
    Definition Classes
    Formats

Inherited from Formats

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped