So I have such json response:
"data": [
    {
        "id": 11881,
        "date": "2018-03-26T16:22:08",
        "date_gmt": "2018-03-26T14:22:08",
        "guid": {
            "rendered": "http://google.com"
        },
        "modified": "2018-03-26T16:22:08",
        "modified_gmt": "2018-03-26T14:22:08",
        "slug": "some text",
        "status": "some status",
        "type": "post",
        "link": "http://google.com",
        "title": {
            "rendered": "some title"
        }
}
]
How can I parse such response to POJO class if I would have such classes:
public class Response{
    private List<Post> data;
}
public class Post{
    private String id;
    private String date;
    private String date_gmt;
    private String guid;
}
The problem is that it has nested values like guid and title how can I parse it to one POJO class that I wouldn't need to create pojo for each nested value?
 
     
     
    