vertx / io.vertx.rxjava.core.parsetools / JsonEvent / mapTo

mapTo

open fun <T : Any> mapTo(type: Class<T>): T

Decodes and returns the current value as the specified type.

Parameters

type - the type to decode the value to

Return
the decoded value