diff --git a/src/main/java/com/afollestad/ason/Util.java b/src/main/java/com/afollestad/ason/Util.java index bd447c1..b13c8ef 100644 --- a/src/main/java/com/afollestad/ason/Util.java +++ b/src/main/java/com/afollestad/ason/Util.java @@ -239,8 +239,11 @@ static boolean isList(Class cls) { } static boolean shouldIgnore(Field field) { - return field.getName().startsWith("this$") + return field.isSynthetic() // synthetic fields + || field.getName().startsWith("this$") || field.getName().equals("$jacocoData") // used with Jacoco testing + || field.getName().equals("serialVersionUID") // used by Instant run + || field.getName().equals("$change") // in Android Studio || field.getAnnotation(AsonIgnore.class) != null; }