Code example for GsonBuilder

Methods: registerTypeAdapter

0
 */ 
public class GsonHelper extends GsonOpenHelper { 
 
    @Override 
    protected void configure(GsonBuilder builder) {
        builder.registerTypeAdapter(DemoModel.class, new DemoModelDeserializer());
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java