Packages

object jsonSerialization extends JacksonJsonSerialization

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. jsonSerialization
  2. JacksonJsonSerialization
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def fromJson[T](json: String)(implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[T], mf: Manifest[T], formats: Formats): T

    Deserializes a JSON string into a given type.

    Deserializes a JSON string into a given type. This works well on most case classes.

    T

    The type to deserialize the content into.

    Definition Classes
    JacksonJsonSerialization
  9. def fromJsonOption[T](json: String)(implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[T], mf: Manifest[T], formats: Formats): Option[T]

    Same as fromJson, but handles option values, by deserializing empty string to None.

    Same as fromJson, but handles option values, by deserializing empty string to None.

    T

    The type to deserialize the content into.

    Definition Classes
    JacksonJsonSerialization
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toJson(obj: AnyRef)(implicit formats: Formats): String

    Serializes an object to a compact JSON string without indentation and line breaks.

    Serializes an object to a compact JSON string without indentation and line breaks.

    obj

    The object to serialize.

    Definition Classes
    JacksonJsonSerialization
  18. def toJsonOption[T <: AnyRef](obj: Option[T])(implicit arg0: scala.reflect.api.JavaUniverse.WeakTypeTag[T], mf: Manifest[T], formats: Formats): String

    Same as toJson, but handles option values, which are serialized to empty strings.

    Same as toJson, but handles option values, which are serialized to empty strings.

    obj

    The object to serialize.

    Definition Classes
    JacksonJsonSerialization
  19. def toPrettyJson(obj: AnyRef)(implicit formats: Formats): String

    Serializes an object to a reading-friendly JSON string with indentation and line breaks.

    Serializes an object to a reading-friendly JSON string with indentation and line breaks.

    obj

    The object to serialize.

    Definition Classes
    JacksonJsonSerialization
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped