0
 "results": {
        "AT": {
            "link": "https://www.themoviedb.org/movie/330081/watch?locale=AT",
            "buy": [
                {
                    "display_priority": 5,
                    "logo_path": "/sVBEF7q7LqjHAWSnKwDbzmr2EMY.jpg",
                    "provider_id": 10,
                    "provider_name": "Amazon Video"
                }
            ]
        },
        "DE": {
            "link": "https://www.themoviedb.org/movie/330081/watch?locale=DE",
            "buy": [
                {
                    "display_priority": 5,
                    "logo_path": "/sVBEF7q7LqjHAWSnKwDbzmr2EMY.jpg",
                    "provider_id": 10,
                    "provider_name": "Amazon Video"
                }
            ]
        }
    }

Here AT,DE represents Country Short Code. They are dynamic. For some values some countries will be present some are not. How to parse this format of json in android using GSON

0 Answers0