Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public class GsonClass {
private static final String EMPTY = "";
private String mandatory;
private String optional;
public GsonClass() {
optional = EMPTY;
public String getMandatory() {
return mandatory;
public String getOptional() {
return optional;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment