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