Object

io.fintrospect.formats.Circe

JsonFormat

Related Doc: package Circe

Permalink

object JsonFormat extends JsonFormat[Json, Json]

Definition Classes
Circe → JsonLibrary
Linear Supertypes
JsonFormat[Json, Json], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonFormat
  2. JsonFormat
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Field = (String, Json)

    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: Json*): Json

    Permalink
    Definition Classes
    JsonFormat → JsonFormat
  5. def array(elements: Iterable[Json]): Json

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

    Permalink
    Definition Classes
    Any
  7. def body[R](description: Option[String] = None, example: R = null)(implicit e: Encoder[R], d: Decoder[R]): UniBody[R]

    Permalink

    Create a Body that just use straight JSON encoding/decoding logic to bind to/from HTTP messages

  8. def bodySpec[R](description: Option[String] = None)(implicit e: Encoder[R], d: Decoder[R]): BodySpec[R]

    Permalink

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

  9. def boolean(value: Boolean): Json

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

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

    Permalink
    Definition Classes
    JsonFormat → JsonFormat
  12. def decode[T](in: Json)(implicit d: Decoder[T]): T

    Permalink
  13. def encode[T](in: T)(implicit e: Encoder[T]): Json

    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(): Json

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

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

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

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

    Permalink
    Definition Classes
    JsonFormat → JsonFormat
  28. def obj(fields: Field*): Json

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

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

    Permalink
    Definition Classes
    JsonFormat
  31. def parameterSpec[R](name: String, description: Option[String] = None)(implicit e: Encoder[R], d: Decoder[R]): ParameterSpec[R]

    Permalink

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

  32. def parse(in: String): Json

    Permalink
    Definition Classes
    JsonFormat → JsonFormat
  33. def patchBody[R](description: Option[String] = None, example: R = null)(implicit e: Encoder[R], d: Decoder[(R) ⇒ R]): Body[(R) ⇒ R]

    Permalink

    A Body that provides a function that will modify a given case class with the fields from a incoming JSON object.

    A Body that provides a function that will modify a given case class with the fields from a incoming JSON object. Useful for PATCH/PUT requests, where only fields to be modified are sent to the server. Note that this Body only supports inbound messages.

  34. def patcher[T](in: Json)(implicit d: Decoder[(T) ⇒ T]): (T) ⇒ T

    Permalink

    Function that will modify a given case class with the fields from a incoming JSON object.

    Function that will modify a given case class with the fields from a incoming JSON object. Useful for PATCH/PUT requests, where only modified fields are sent to the server.

  35. def pretty(node: Json): String

    Permalink
    Definition Classes
    JsonFormat → JsonFormat
  36. def responseSpec[R](statusAndDescription: (Status, String), example: R)(implicit e: Encoder[R], d: Decoder[R]): ResponseSpec

    Permalink

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

  37. def string(value: String): Json

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

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

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

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

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

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

Inherited from JsonFormat[Json, Json]

Inherited from AnyRef

Inherited from Any

Ungrouped