vertx-kuickstart-core / dev.fuelyour.vertxkuickstartcore.tools / Deserializer

Deserializer

interface Deserializer

Auto deserialize json to the type given.

Functions

instantiate

abstract fun <T : Any> FullType<T>.instantiate(json: JsonObject?): T?
abstract fun Type.instantiate(json: JsonObject?): Any?
abstract fun <T : Any> FullType<T>.instantiate(arr: JsonArray?): T?
abstract fun Type.instantiate(arr: JsonArray?): Any?

Inheritors

AllQueryImpl

The default implementation for AllQuery. It returns all rows in the table.

class AllQueryImpl<T : Any> : AllQuery<T>, Deserializer

DeserializerImpl

class DeserializerImpl : Deserializer

FindQueryImpl

The default implementation for FindQuery. It returns a single row in the table by id.

class FindQueryImpl<T : Any> : FindQuery<T>, Deserializer

InsertQueryImpl

The default implementation for InsertQuery. It inserts a single row into the table.

class InsertQueryImpl<T : Any, R : Any> : InsertQuery<T, R>, Serializer, Deserializer

SwaggerServiceHandler

Builds out service handlers for routing to the controllers

class SwaggerServiceHandler : Serializer, Deserializer

UpdateQueryImpl

The default implementation for UpdateQuery. It updates a single row in the table by id.

class UpdateQueryImpl<T : Any, R : Any> : UpdateQuery<T, R>, Serializer, Deserializer