Method that uses a custom deserializer added.
Class TargetClassDeserializer implements JsonDeserializer<TargetClass> added.