-
Notifications
You must be signed in to change notification settings - Fork 26
Not able to serialize avro generated object having schema$ object #35
Comments
Which Jackson version is this with? |
I am getting this for any version above 2.4.3 but theoretically it should happen for all versions. |
@anandshah123 I think I better have a look at your test case at this point. |
Ok; the problem is not the static field, but rather definition in public abstract class SpecificRecordBase
implements SpecificRecord, Comparable<SpecificRecord>, GenericRecord {
public abstract Schema getSchema();
} which does suggest there is property In the meantime, you can work around this by adding mix-in for something like abstract class Mixin {
@JsonIgnore
public abstract Schema getSchema();
} and attach that to |
@anandshah123 I think this could be fixed via |
Fixed this. Note: you need to use |
Below exception is thrown
The text was updated successfully, but these errors were encountered: