public class DynObjectSerializer extends java.lang.Object implements JsonManager.JsonSerializer, IsApplicable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTRIBUTE_NAME_DYNCLASS |
Constructor and Description |
---|
DynObjectSerializer() |
Modifier and Type | Method and Description |
---|---|
protected DynObject |
createDynObject(JsonObject json) |
java.lang.Class |
getObjectClass() |
boolean |
isApplicable(java.lang.Object... args) |
JsonObjectBuilder |
toJsonBuilder(java.lang.Object value) |
java.lang.Object |
toObject(JsonObject json) |
public static final java.lang.String ATTRIBUTE_NAME_DYNCLASS
public java.lang.Class getObjectClass()
getObjectClass
in interface JsonManager.JsonSerializer
protected DynObject createDynObject(JsonObject json)
public java.lang.Object toObject(JsonObject json)
toObject
in interface JsonManager.JsonSerializer
public JsonObjectBuilder toJsonBuilder(java.lang.Object value)
toJsonBuilder
in interface JsonManager.JsonSerializer
public boolean isApplicable(java.lang.Object... args)
isApplicable
in interface IsApplicable