io.fintrospect.formats.json.Json4s

Json4sFormat

class Json4sFormat[T] extends JsonFormat[JValue, JValue]

Linear Supertypes
JsonFormat[JValue, JValue], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Json4sFormat
  2. JsonFormat
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Json4sFormat(jsonMethods: JsonMethods[T], serialization: Serialization, useBigDecimalForDouble: Boolean)

Type Members

  1. type Field = (String, JValue)

    Definition Classes
    JsonFormat

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. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  6. def array(elements: Iterable[JValue]): JValue

    Definition Classes
    Json4sFormatJsonFormat
  7. def array(elements: JValue*): JValue

    Definition Classes
    Json4sFormatJsonFormat
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def bodySpec[R](description: Option[String] = None, formats: Formats = serialization.formats(NoTypeHints))(implicit mf: Manifest[R]): BodySpec[R]

    Convenience method for creating BodySpecs that just use straight JSON encoding/decoding logic

  10. def boolean(value: Boolean): JValue

    Definition Classes
    Json4sFormatJsonFormat
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def compact(in: JValue): String

    Definition Classes
    Json4sFormatJsonFormat
  13. def decode[R](in: JValue, formats: Formats = serialization.formats(NoTypeHints))(implicit mf: Manifest[R]): R

  14. def encode(in: AnyRef, formats: Formats = serialization.formats(NoTypeHints)): JValue

  15. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def nullNode(): JValue

    Definition Classes
    Json4sFormatJsonFormat
  25. def number(value: BigInteger): JValue

    Definition Classes
    Json4sFormatJsonFormat
  26. def number(value: Long): JValue

    Definition Classes
    Json4sFormatJsonFormat
  27. def number(value: BigDecimal): JValue

    Definition Classes
    Json4sFormatJsonFormat
  28. def number(value: Int): JValue

    Definition Classes
    Json4sFormatJsonFormat
  29. def obj(fields: (String, JValue)*): JValue

    Definition Classes
    Json4sFormatJsonFormat
  30. def obj(fields: Iterable[(String, JValue)]): JValue

    Definition Classes
    Json4sFormatJsonFormat
  31. def objSym(fields: (Symbol, JValue)*): JValue

    Definition Classes
    JsonFormat
  32. def parameterSpec[R](name: String, description: Option[String] = None, formats: Formats = serialization.formats(NoTypeHints))(implicit mf: Manifest[R]): ParameterSpec[R]

    Convenience method for creating ParameterSpecs that just use straight JSON encoding/decoding logic

  33. def parse(in: String): JValue

    Attempt to parse the JSON into the root node type.

    Attempt to parse the JSON into the root node type. Implementations should throw an exception if the parsing fails, which is dealt with by the surrounding deserialisation mechanism, so you don't need to worry about having to muddy your own code with the exception handling.

    Definition Classes
    Json4sFormatJsonFormat
  34. def pretty(in: JValue): String

    Definition Classes
    Json4sFormatJsonFormat
  35. def string(value: String): JValue

    Definition Classes
    Json4sFormatJsonFormat
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def toString(): String

    Definition Classes
    AnyRef → Any
  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JsonFormat[JValue, JValue]

Inherited from AnyRef

Inherited from Any

Ungrouped