Class BlockAdapterFactory
- java.lang.Object
-
- com.exonum.binding.blockchain.serialization.BlockAdapterFactory
-
- All Implemented Interfaces:
com.google.gson.TypeAdapterFactory
public abstract class BlockAdapterFactory extends 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<Block> typeAdapter(Gson gson) { return new AutoValue_Block.GsonTypeAdapter(gson); }
-
-
Constructor Summary
Constructors Constructor Description BlockAdapterFactory()
-