de.hakenadu.terms.gson.converter.ConstantValueConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of composite-terms Show documentation
Show all versions of composite-terms Show documentation
A light extensible java 8+ library for creating composites of terms which are evaluatable using a visitor pattern.
The newest version!
package de.hakenadu.terms.gson.converter;
import com.google.gson.JsonElement;
public interface ConstantValueConverter {
String getTypeName();
Class getTypeClass();
JsonElement toJson(T t);
T fromJson(JsonElement jsonElement);
}