1. "Lazy initialization" for mixin registration
  2. Optimization of exception catching in Serializer/Deserializer

Comment From: pivotal-cla

@k-korotaev Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@k-korotaev Thank you for signing the Contributor License Agreement!

Comment From: philwebb

Thanks for the suggestions, but I don't think we should make these changes. The JsonMixinModule should not have state and should only be called once anyway (from JacksonAutoConfiguration). Directly throwing the IOException is also not likely to buy us much and it changes the current API.

Thanks anyway.