Skip to content

JsonReaderException when getting Artist. #928

@rogamaral

Description

@rogamaral

Spotify changed, at least in the artist endpoint, the int types to float/double.

{
    "external_urls": {
        "spotify": "https://open.spotify.com/artist/7Ln80lUS6He07XvHI8qqHH"
    },
    "followers": {
        "href": null,
        "total": 2.3024383E7
    },
    "genres": [
        "garage rock",
        "modern rock",
        "permanent wave",
        "rock",
        "sheffield indie"
    ],
    "href": "https://api.spotify.com/v1/artists/7Ln80lUS6He07XvHI8qqHH",
    "id": "7Ln80lUS6He07XvHI8qqHH",
    "images": [
        {
            "url": "https://i.scdn.co/image/ab6761610000e5eb7da39dea0a72f581535fb11f",
            "height": 640.0,
            "width": 640.0
        },
        {
            "url": "https://i.scdn.co/image/ab676161000051747da39dea0a72f581535fb11f",
            "height": 320.0,
            "width": 320.0
        },
        {
            "url": "https://i.scdn.co/image/ab6761610000f1787da39dea0a72f581535fb11f",
            "height": 160.0,
            "width": 160.0
        }
    ],
    "name": "Arctic Monkeys",
    "popularity": 85.0,
    "type": "artist",
    "uri": "spotify:artist:7Ln80lUS6He07XvHI8qqHH"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions