Retrofit 2, same name different data type JSON Parsing
问题 I am trying to parse a JSON response from a server, If there are changes to in the query sent in post method I will get first one as response, if not I will get the second one as response. 1: { "status": 1, "data": { "firstname": "First Name", "lastname": "Last Name", "mobilenumber": "1234567894", "emailid": "test@gmail.com", "timezone": "Asia/Kolkata" }, "user_id": "", "response": "Profile Updated Successfully" } 2: { "status": 1, "data": "No changes to update", "user_id": "" } As you can