Packages

o

ai.mantik.ds.formats.json

JsonFormat

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

Bundle JSON Serializer.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonFormat
  2. Decoder
  3. ObjectEncoder
  4. RootEncoder
  5. Encoder
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 accumulating: AccumulatingDecoder[Bundle]
    Definition Classes
    Decoder
  5. def apply(c: HCursor): Result[Bundle]
    Definition Classes
    JsonFormat → Decoder
  6. final def apply(a: Bundle): Json
    Definition Classes
    ObjectEncoder → Encoder
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. final def contramap[B](f: (B) ⇒ Bundle): Encoder[B]
    Definition Classes
    Encoder
  10. final def contramapObject[B](f: (B) ⇒ Bundle): ObjectEncoder[B]
    Definition Classes
    ObjectEncoder
  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. final def decodeJson(j: Json): Result[Bundle]
    Definition Classes
    Decoder
  18. def deserializeBundle(json: Json): Result[Bundle]

    Deserializes a Bundle from JSON.

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

    Deserializes a Bundle value from JSON.

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

    Serializes a bundle to JSON.

  44. def serializeBundleValue(bundle: Bundle): Json

    Encode the bundle value (without type value).

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

Deprecated Value Members

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

Inherited from Decoder[Bundle]

Inherited from ObjectEncoder[Bundle]

Inherited from RootEncoder[Bundle]

Inherited from Encoder[Bundle]

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped