List of usage examples for com.google.gson TypeAdapterFactory interface-usage
From source file zardoni.matteo.SerializzazioneTimeline.test.RuntimeTypeAdapterFactory.java
/**
* Adapts values whose runtime type may differ from their declaration type. This
* is necessary when a field's type is not the same type that GSON should create
* when deserializing that field. For example, consider these types:
* <pre> {@code
* abstract class Shape {