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