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