-1
I got a problem, I got this JSON {"cidade":{"nome":"Mag�","uf":"RJ","atualizacao":"2019-07-27","previsao":[{"dia":"2019-07-27","tempo":"pn","maxima":29,"minima":17,"iuv":6},{"dia":"2019-07-28","tempo":"vn","maxima":26,"minima":19,"iuv":6},{"dia":"2019-07-29","tempo":"vn","maxima":26,"minima":16,"iuv":6},{"dia":"2019-07-30","tempo":"pn","maxima":28,"minima":17,"iuv":6}]}}
, I just need to take the first data from the "maxima" key and what I see on the internet are solutions using serialization, I do not want to save all this data. Another question, this JSON is correct in the matter of formatting ? How do I access it in Android Studio ?
to validate json I usually use this site https://jsonlint.com/. In your json you have an error from have an extra } the penultimate is left.
– GabrielLocalhost