public class MySQLConnectOptionsConverter extends Object implements JsonCodec<MySQLConnectOptions,JsonObject>
MySQLConnectOptions.
NOTE: This class has been automatically generated from the MySQLConnectOptions original class using Vert.x codegen.| Modifier and Type | Field and Description |
|---|---|
static MySQLConnectOptionsConverter |
INSTANCE |
| Constructor and Description |
|---|
MySQLConnectOptionsConverter() |
| Modifier and Type | Method and Description |
|---|---|
MySQLConnectOptions |
decode(JsonObject value)
Decode
<J> to <T>. |
JsonObject |
encode(MySQLConnectOptions value)
Encode
<T> to <J>. |
static void |
fromJson(Iterable<Map.Entry<String,Object>> json,
MySQLConnectOptions obj) |
Class<MySQLConnectOptions> |
getTargetClass() |
static void |
toJson(MySQLConnectOptions obj,
JsonObject json) |
static void |
toJson(MySQLConnectOptions obj,
Map<String,Object> json) |
public static final MySQLConnectOptionsConverter INSTANCE
public JsonObject encode(MySQLConnectOptions value)
JsonEncoder<T> to <J>.
value will not be null and the implementation must not return null.encode in interface JsonEncoder<MySQLConnectOptions,JsonObject>value - the valuepublic MySQLConnectOptions decode(JsonObject value)
JsonDecoder<J> to <T>.
json will not be null and the implementation must not return null.decode in interface JsonDecoder<MySQLConnectOptions,JsonObject>value - the json valuepublic Class<MySQLConnectOptions> getTargetClass()
getTargetClass in interface JsonDecoder<MySQLConnectOptions,JsonObject>getTargetClass in interface JsonEncoder<MySQLConnectOptions,JsonObject><T>public static void fromJson(Iterable<Map.Entry<String,Object>> json, MySQLConnectOptions obj)
public static void toJson(MySQLConnectOptions obj, JsonObject json)
public static void toJson(MySQLConnectOptions obj, Map<String,Object> json)
Copyright © 2019 Eclipse. All rights reserved.