Do i need to implement Serializable for model classes while using GSON(serialization/deserialization library)
问题 I have used default HttpUrlConnection class to make api calls and GSON to convert Java Objects into json request and json response into equivalent Java object.I have created various models(pojo class) to convert the request/response to model objects.My doubt is that is it ideal to implement Serializable to all those models since GSON is serialization/deserialization library? public class Contact implements Serializable { private String name; private String email; public String getName() {