- A third party library is responsible for serializing or deserializing the object eg. custom serialization of api response contracts in a spring webapplication. i.e the ObjectMapper cannot be accessed and configured directly
- We want to serialize instances of only one class.
- Using @JsonSerialize at class level to register a custom serializer for instances of that class.