public class BeanDefJSONMarshaller extends Object implements DataSetDefJSONMarshallerExt<BeanDataSetDef>
| Modifier and Type | Field and Description |
|---|---|
static String |
GENERATOR_CLASS |
static String |
GENERATOR_PARAMS |
static BeanDefJSONMarshaller |
INSTANCE |
static String |
PARAM |
static String |
VALUE |
| Constructor and Description |
|---|
BeanDefJSONMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(BeanDataSetDef def,
JsonObject json)
Updates the given data set def instance with the status stored into the json object passed as a parameter.
|
void |
toJson(BeanDataSetDef dataSetDef,
JsonObject json)
Writes into the given json object the status of the data set def instance.
|
protected JsonObject |
toJsonParameter(String key,
String value) |
public static BeanDefJSONMarshaller INSTANCE
public static final String GENERATOR_CLASS
public static final String GENERATOR_PARAMS
public static final String PARAM
public static final String VALUE
public void fromJson(BeanDataSetDef def, JsonObject json)
DataSetDefJSONMarshallerExtfromJson in interface DataSetDefJSONMarshallerExt<BeanDataSetDef>public void toJson(BeanDataSetDef dataSetDef, JsonObject json)
DataSetDefJSONMarshallerExttoJson in interface DataSetDefJSONMarshallerExt<BeanDataSetDef>protected JsonObject toJsonParameter(String key, String value) throws JsonException
JsonExceptionCopyright © 2017–2019 JBoss by Red Hat. All rights reserved.