object JsonFormat extends ObjectEncoder[Bundle] with Decoder[Bundle]
Bundle JSON Serializer.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JsonFormat
- Decoder
- ObjectEncoder
- RootEncoder
- Encoder
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
accumulating: AccumulatingDecoder[Bundle]
- Definition Classes
- Decoder
-
def
apply(c: HCursor): Result[Bundle]
- Definition Classes
- JsonFormat → Decoder
-
final
def
apply(a: Bundle): Json
- Definition Classes
- ObjectEncoder → Encoder
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
contramap[B](f: (B) ⇒ Bundle): Encoder[B]
- Definition Classes
- Encoder
-
final
def
contramapObject[B](f: (B) ⇒ Bundle): ObjectEncoder[B]
- Definition Classes
- ObjectEncoder
-
def
createRootElementDecoder(dataType: DataType): Decoder[RootElement]
Create a decoder for root elements.
-
def
createRootElementEncoder(dataType: DataType): Encoder[RootElement]
Create an encoder for root elements.
-
def
createStreamRootElementDecoder(dataType: DataType): Flow[ByteString, RootElement, _]
Create a stream decoder for root elements (without header)
-
def
createStreamRootElementDecoderWithHeader(dataType: DataType): Flow[ByteString, RootElement, _]
Create a stream decoder for root elements (with header)
-
def
createStreamRootElementEncoder(dataType: DataType): Flow[RootElement, ByteString, _]
Create a stream encoder (without header)
-
def
createStreamRootElementEncoderWithHeader(dataType: DataType): Flow[RootElement, ByteString, _]
Create a stream encoder (with header)
-
final
def
decodeJson(j: Json): Result[Bundle]
- Definition Classes
- Decoder
-
def
deserializeBundle(json: Json): Result[Bundle]
Deserializes a Bundle from JSON.
-
def
deserializeBundleValue(dataType: DataType, json: Json): Result[Bundle]
Deserializes a Bundle value from JSON.
-
final
def
either[B](decodeB: Decoder[B]): Decoder[Either[Bundle, B]]
- Definition Classes
- Decoder
-
final
def
emap[B](f: (Bundle) ⇒ Either[String, B]): Decoder[B]
- Definition Classes
- Decoder
-
final
def
emapTry[B](f: (Bundle) ⇒ Try[B]): Decoder[B]
- Definition Classes
- Decoder
-
def
encodeObject(bundle: Bundle): JsonObject
- Definition Classes
- JsonFormat → ObjectEncoder
-
final
def
ensure(errors: (Bundle) ⇒ List[String]): Decoder[Bundle]
- Definition Classes
- Decoder
-
final
def
ensure(pred: (Bundle) ⇒ Boolean, message: ⇒ String): Decoder[Bundle]
- Definition Classes
- Decoder
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
flatMap[B](f: (Bundle) ⇒ Decoder[B]): Decoder[B]
- Definition Classes
- Decoder
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
handleErrorWith(f: (DecodingFailure) ⇒ Decoder[Bundle]): Decoder[Bundle]
- Definition Classes
- Decoder
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
kleisli: Kleisli[Result, HCursor, Bundle]
- Definition Classes
- Decoder
-
final
def
map[B](f: (Bundle) ⇒ B): Decoder[B]
- Definition Classes
- Decoder
-
final
def
mapJson(f: (Json) ⇒ Json): Encoder[Bundle]
- Definition Classes
- Encoder
-
final
def
mapJsonObject(f: (JsonObject) ⇒ JsonObject): ObjectEncoder[Bundle]
- Definition Classes
- ObjectEncoder
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
or[AA >: Bundle](d: ⇒ Decoder[AA]): Decoder[AA]
- Definition Classes
- Decoder
-
final
def
prepare(f: (ACursor) ⇒ ACursor): Decoder[Bundle]
- Definition Classes
- Decoder
-
final
def
product[B](fb: Decoder[B]): Decoder[(Bundle, B)]
- Definition Classes
- Decoder
-
def
serializeBundle(bundle: Bundle): Json
Serializes a bundle to JSON.
-
def
serializeBundleValue(bundle: Bundle): Json
Encode the bundle value (without type value).
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tryDecode(c: ACursor): Result[Bundle]
- Definition Classes
- Decoder
-
def
tryDecodeAccumulating(c: ACursor): Result[Bundle]
- Definition Classes
- Decoder
-
final
def
validate(pred: (HCursor) ⇒ Boolean, message: ⇒ String): Decoder[Bundle]
- Definition Classes
- Decoder
-
final
def
validate(errors: (HCursor) ⇒ List[String]): Decoder[Bundle]
- Definition Classes
- Decoder
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
withErrorMessage(message: String): Decoder[Bundle]
- Definition Classes
- Decoder