Code example for GsonBuilder

Methods: create

0
                .setDateFormat("yyyy-MM-dd HH:mm:ss") 
                .excludeFieldsWithoutExposeAnnotation(); 
        if (!escaping) {
            builder = builder.disableHtmlEscaping();
        } 
        return builder.create();
    } 
}