Skip to content

Commit

Permalink
Merge branch '2.16'
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 19, 2023
2 parents 7c229ee + b915cb8 commit 776526a
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,13 @@ public IonAnnotationTypeResolverBuilder withDefaultImpl(Class<?> newDefaultImpl)
}
return new IonAnnotationTypeResolverBuilder(this, defaultImpl);
}

@Override // since 2.16, modified from jackson-databind/StdTypeResolverBuilder
public IonAnnotationTypeResolverBuilder withSettings(JsonTypeInfo.Value settings)
{
// We don't have most of relevant things, just default implementation so:
defaultImpl = settings.getDefaultImpl();
typeIdVisible = settings.getIdVisible();
return this;
}
}

0 comments on commit 776526a

Please sign in to comment.