es.prodevelop.pui9.json.adapters.AbstractPuiGsonJsonSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of es.prodevelop.pui9.utils Show documentation
Show all versions of es.prodevelop.pui9.utils Show documentation
Multiple utilities for PUI9 (Gson, CSV, Exceptions...)
The newest version!
package es.prodevelop.pui9.json.adapters;
import com.google.gson.JsonSerializer;
import com.google.gson.TypeAdapterFactory;
/**
* Use this class to inherit from her when you create a new JsonSerializer for
* GSON. This way, it will be registered automatically during the application
* load
*
* @param The type for this serializer
* @author Marc Gil - [email protected]
*/
public abstract class AbstractPuiGsonJsonSerializer implements IPuiGsonTypeAdapter, JsonSerializer {
@Override
public final Class getUnboxedType() {
return null;
}
@Override
public final TypeAdapterFactory getFactory() {
return null;
}
}