Class

io.fintrospect.formats

Json4sFormat

Related Doc: package formats

Permalink

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

Instance Constructors

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

    Permalink

Type Members

  1. type Field = (String, JValue)

    Permalink
    Definition Classes
    JsonFormat

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def array(elements: Iterable[JValue]): JValue

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  5. def array(elements: JValue*): JValue

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def body[R](description: Option[String] = None, example: R = null, formats: Formats = serialization.formats(NoTypeHints))(implicit mf: Manifest[R]): UniBody[R]

    Permalink

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

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

    Permalink

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

  9. def boolean(value: Boolean): JValue

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  10. def clone(): AnyRef

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

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  12. def decode[R](in: JValue, formats: Formats = serialization.formats(NoTypeHints))(implicit mf: Manifest[R]): R

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

    Permalink
  14. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def nullNode(): JValue

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  24. def number(value: BigInteger): JValue

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  25. def number(value: Long): JValue

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  26. def number(value: BigDecimal): JValue

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  27. def number(value: Int): JValue

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  28. def obj(fields: (String, JValue)*): JValue

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  29. def obj(fields: Iterable[Field]): JValue

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  30. def objSym(fields: (Symbol, JValue)*): JValue

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

    Permalink

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

  32. def parse(in: String): JValue

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  33. def pretty(in: JValue): String

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  34. def responseSpec[R](statusAndDescription: (Status, String), example: R, formats: Formats = serialization.formats(NoTypeHints))(implicit mf: Manifest[R]): ResponseSpec

    Permalink

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

  35. val serialization: Serialization

    Permalink
  36. def string(value: String): JValue

    Permalink
    Definition Classes
    Json4sFormat → JsonFormat
  37. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from JsonFormat[JValue, JValue]

Inherited from AnyRef

Inherited from Any

Ungrouped