vertx / io.vertx.reactivex.core.json / SingleUnmarshaller

SingleUnmarshaller

open class SingleUnmarshaller<T : Any, B : Any> : SingleTransformer<B, T>

An operator to unmarshall json to pojos.

Author
Julien Viet

Constructors

<init>

SingleUnmarshaller(unwrap: Function<B, Buffer>, mappedType: Class<T>)
SingleUnmarshaller(unwrap: Function<B, Buffer>, mappedTypeRef: TypeReference<T>)
SingleUnmarshaller(unwrap: Function<B, Buffer>, mappedType: Class<T>, mapper: ObjectMapper)
SingleUnmarshaller(unwrap: Function<B, Buffer>, mappedTypeRef: TypeReference<T>, mapper: ObjectMapper)

Functions

apply

open fun apply(upstream: Single<B>): SingleSource<T>