I\'m trying to learn Gson and I\'m struggling with field exclusion. Here are my classes
public class Student { private Long id; privat
Or can say whats fields not will expose with:
Gson gson = gsonBuilder.excludeFieldsWithModifiers(Modifier.TRANSIENT).create();
on your class on attribute:
private **transient** boolean nameAttribute;