Open
Description
It is occasionally necessary to clone an existing Jsonb
instance, and optionally override a specific setting. Would it be possible to add a method like Jsonb#getConfig
that returns JsonbConfig
?
Usage example
JsonbConfig customConfig = originalJsonb.getConfig()
.withPropertyNamingStrategy(new CustomNamingStrategy());
Jsonb customJsonb = JsonbBuilder.create(customConfig);
(I replaced the example. The original was drawing attention away from the central point.)