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