Skip to content

Commit e1138de

Browse files
authored
ignore specificData field (#508)
1 parent 056f3a4 commit e1138de

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

avro/src/main/java/com/fasterxml/jackson/dataformat/avro/AvroSerializerModifier.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ public List<BeanPropertyWriter> changeProperties(SerializationConfig config,
3434
Iterator<BeanPropertyWriter> it = beanProperties.iterator();
3535
while (it.hasNext()) {
3636
BeanPropertyWriter prop = it.next();
37-
if ("schema".equals(prop.getName())) {
37+
if ("schema".equals(prop.getName()) || "specificData".equals(prop.getName())) {
3838
it.remove();
39-
break;
4039
}
4140
}
4241
}

0 commit comments

Comments
 (0)