<How to handle multiple types of value from a sing...
# stackoverflow
u
How to handle multiple types of value from a single key in json https://github.com/sumitkolhe/jiosaavn-api/issues/21 The "downloadUrl" key in json is returning a list of urls in some cases and in some cases it is returning false ( a boolean value ) . So how to handle it ? Can anyone please tell how to handle this in Android using Kotlin ?? I am getting a resopnse of type SearchSongs . Here is my POJO class <a href="

https://i.stack.imgur.com/9M8Xy.jpg

"...