This is more of a question: reviewing the code, I'm not understanding in what situation the default converter wouldn't work. Why do we need a StringToIntCustomConverter? In what situation would the detected deserialization type be an int? but the value of the JSON is a string (as this class implies)?
This is more of a question: reviewing the code, I'm not understanding in what situation the default converter wouldn't work. Why do we need a
StringToIntCustomConverter
? In what situation would the detected deserialization type be anint?
but the value of the JSON is astring
(as this class implies)?