Packages

object JsonFormat extends AsObject[Bundle] with Decoder[Bundle]

Bundle JSON Serializer.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonFormat
  2. Decoder
  3. AsObject
  4. AsRoot
  5. Encoder
  6. Serializable
  7. AnyRef
  8. 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. def apply(c: HCursor): Result[Bundle]
    Definition Classes
    JsonFormat → Decoder
  5. final def apply(a: Bundle): Json
    Definition Classes
    AsObject → Encoder
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. final def at(field: String): Decoder[Bundle]
    Definition Classes
    Decoder
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. final def contramap[B](f: (B) => Bundle): Encoder[B]
    Definition Classes
    Encoder
  10. final def contramapObject[B](f: (B) => Bundle): AsObject[B]
    Definition Classes
    AsObject
  11. def createRootElementDecoder(dataType: DataType): Decoder[RootElement]

    Create a decoder for root elements.

  12. def createRootElementEncoder(dataType: DataType): Encoder[RootElement]

    Create an encoder for root elements.

  13. def createStreamRootElementDecoder(dataType: DataType): Flow[ByteString, RootElement, _]

    Create a stream decoder for root elements (without header)

  14. def createStreamRootElementDecoderWithHeader(dataType: DataType): Flow[ByteString, RootElement, _]

    Create a stream decoder for root elements (with header)

  15. def createStreamRootElementEncoder(dataType: DataType): Flow[RootElement, ByteString, _]

    Create a stream encoder (without header)

  16. def createStreamRootElementEncoderWithHeader(dataType: DataType): Flow[RootElement, ByteString, _]

    Create a stream encoder (with header)

  17. def decodeAccumulating(c: HCursor): AccumulatingResult[Bundle]
    Definition Classes
    Decoder
  18. final def decodeJson(j: Json): Result[Bundle]
    Definition Classes
    Decoder
  19. def deserializeBundle(json: Json): Result[Bundle]

    Deserializes a Bundle from JSON.

  20. def deserializeBundleValue(dataType: DataType, json: Json): Result[Bundle]

    Deserializes a Bundle value from JSON.

  21. final def either[B](decodeB: Decoder[B]): Decoder[Either[Bundle, B]]
    Definition Classes
    Decoder
  22. final def emap[B](f: (Bundle) => Either[String, B]): Decoder[B]
    Definition Classes
    Decoder
  23. final def emapTry[B](f: (Bundle) => Try[B]): Decoder[B]
    Definition Classes
    Decoder
  24. def encodeObject(bundle: Bundle): JsonObject
    Definition Classes
    JsonFormat → AsObject
  25. final def ensure(errors: (Bundle) => List[String]): Decoder[Bundle]
    Definition Classes
    Decoder
  26. final def ensure(pred: (Bundle) => Boolean, message: => String): Decoder[Bundle]
    Definition Classes
    Decoder
  27. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  29. final def flatMap[B](f: (Bundle) => Decoder[B]): Decoder[B]
    Definition Classes
    Decoder
  30. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def handleErrorWith(f: (DecodingFailure) => Decoder[Bundle]): Decoder[Bundle]
    Definition Classes
    Decoder
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. final def kleisli: Kleisli[Result, HCursor, Bundle]
    Definition Classes
    Decoder
  35. final def map[B](f: (Bundle) => B): Decoder[B]
    Definition Classes
    Decoder
  36. final def mapJson(f: (Json) => Json): Encoder[Bundle]
    Definition Classes
    Encoder
  37. final def mapJsonObject(f: (JsonObject) => JsonObject): AsObject[Bundle]
    Definition Classes
    AsObject
  38. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  41. final def or[AA >: Bundle](d: => Decoder[AA]): Decoder[AA]
    Definition Classes
    Decoder
  42. final def prepare(f: (ACursor) => ACursor): Decoder[Bundle]
    Definition Classes
    Decoder
  43. final def product[B](fb: Decoder[B]): Decoder[(Bundle, B)]
    Definition Classes
    Decoder
  44. def serializeBundle(bundle: Bundle): Json

    Serializes a bundle to JSON.

  45. def serializeBundleValue(bundle: Bundle): Json

    Encode the bundle value (without type value).

  46. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. def tryDecode(c: ACursor): Result[Bundle]
    Definition Classes
    Decoder
  49. def tryDecodeAccumulating(c: ACursor): AccumulatingResult[Bundle]
    Definition Classes
    Decoder
  50. final def validate(pred: (HCursor) => Boolean, message: => String): Decoder[Bundle]
    Definition Classes
    Decoder
  51. final def validate(errors: (HCursor) => List[String]): Decoder[Bundle]
    Definition Classes
    Decoder
  52. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  54. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  55. final def withErrorMessage(message: String): Decoder[Bundle]
    Definition Classes
    Decoder

Deprecated Value Members

  1. final def accumulating(c: HCursor): AccumulatingResult[Bundle]
    Definition Classes
    Decoder
    Annotations
    @deprecated
    Deprecated

    (Since version 0.12.0) Use decodeAccumulating

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

Inherited from Decoder[Bundle]

Inherited from AsObject[Bundle]

Inherited from AsRoot[Bundle]

Inherited from Encoder[Bundle]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped