skip to Main Content

How to map JSON in a Java object

I'm trying to transform this JSON in a Java object. But I'm struggling with this conversion. { "id": "c01cede4-cd45-11eb-b8bc-0242ac130003", "publisherId": "nintendo", "name": "Mario", "timePlayed": { "2023-05-01": 10, "2023-05-02": 2, "2023-05-03": 3, "2023-05-04": 4 } } First, I created a class…

VIEW QUESTION
Back To Top
Search