Ich habe eine JSON-Antwort vom Server, unten angehängt. Ich möchte diese Antwort mit Volley in Android analysieren. Wie analysiere ich die Objekte im Array?Parse JSON Objekte innerhalb JSON-Array mit Android-Volley-Bibliothek
{ "status": "ok", "source": "techcrunch", "sortBy": "top", "articles": [ { "author": "Ingrid Lunden, Fitz Tepper", "title": "Confirmed: AT&T is buying Time Warner for $85.4B in cash and shares", "description": "After days of speculation, the deal is now official: AT&T is acquiring Time Warner for $85 billion in a mix of cash and shares, paving the way for..", "url": "http://social.techcrunch.com/2016/10/22/confirmed-att-is-buying-time-warner-for-85-4b-in-cash-and-shares/", "urlToImage": "https://tctechcrunch2011.files.wordpress.com/2016/10/946_432_newsroom_release_tw.jpg?w=764&h=400&crop=1", "publishedAt": "2016-10-23T00:02:34Z" },
Ich möchte auf das erste Objekt zugreifen, und das nächste und das nächste danach. Schätzen.
wissen Sie zu bekommen, wie Volley verwenden json vom Server zu bekommen? –
können Sie mir sagen @RitikKumarAgrahari –
Ich habe die Lösung gepostet, sehen Sie sich –