public class DefaultObjectSerializer extends java.lang.Object implements JsonManager.JsonSerializer
Constructor and Description |
---|
DefaultObjectSerializer(java.lang.Class<? extends SupportFromJson> theClass) |
Modifier and Type | Method and Description |
---|---|
SupportFromJson |
createNewObject() |
java.lang.Class |
getObjectClass() |
JsonObjectBuilder |
toJsonBuilder(java.lang.Object value) |
java.lang.Object |
toObject(JsonObject json) |
public DefaultObjectSerializer(java.lang.Class<? extends SupportFromJson> theClass)
public java.lang.Class getObjectClass()
getObjectClass
in interface JsonManager.JsonSerializer
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 SupportFromJson createNewObject() throws java.lang.InstantiationException, java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalAccessException