Class StoredConfigurationAdapterFactory
- java.lang.Object
-
- com.exonum.binding.common.serialization.json.StoredConfigurationAdapterFactory
-
- All Implemented Interfaces:
com.google.gson.TypeAdapterFactory
public abstract class StoredConfigurationAdapterFactory extends java.lang.Object implements com.google.gson.TypeAdapterFactory
Class used to automatically create Gson type adapters for AutoValue classes. Note that you need to provide static factory method in your AutoValue class.public static TypeAdapter<StoredConfiguration> typeAdapter(Gson gson) { return new AutoValue_StoredConfiguration.GsonTypeAdapter(gson); }
-
-
Constructor Summary
Constructors Constructor Description StoredConfigurationAdapterFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.gson.TypeAdapterFactory
create()
-