About this question
I intend to parse a JSON response into a custom class. I have used a class and constructor. My motive is to parse the content into the class fields. But I am getting the error that shows: System.JSONException: Illegal value for primitive. Why am I getting such an error?