I need the last record i.e. " 19 May 2021" to be appeared on the top of the list. So that users who are using my app don’t have to scroll down to see the recent cases.
Can you please help me with this, if you know any solution.
There is a “data” key, under which there are “source”, “lastRefreshed”, “total” and “statewise” keys. That’s why you need second results key. As a general advice - for such APIs sometimes one need to count the opening and closing curly and square brackets
BTW, jsonlint.com does automatic “space” indent so you can better see the JSON structure visually.