Before that, json did not work. It is necessary to display json elements in the ListView.
He took http://dajver.blogspot.com/2013/02/json.html as a basis.
What needs to be changed in this code if json has the format not
{ "data": [ { "firstName": "John", "lastName": "Doe" }, { "firstName": "Anna", "lastName": "Smith" }, { "firstName": "Peter", "lastName": "Jones" } ] }
but just
[ { "firstName": "John", "lastName": "Doe" }, { "firstName": "Anna", "lastName": "Smith" }, { "firstName": "Peter", "lastName": "Jones" } ]