excludeFieldsWithModifiers 설정
private final Gson mGson = new GsonBuilder().excludeFieldsWithModifiers(Modifier.FINAL).create();
변수 선언 시 final 키워드를 추가해서 시리얼라이즈에서 제외시킨다.
public class MeterValuesReq {
private final Action action = Action.MeterValues; // 직렬화 제외
private int connectorId;
private int transactionId;
private ArrayList<MeterValue> meterValue = new ArrayList<>();
}