There is a json file:

{ "easy": [ { "question": "Первый вторник месяца...", "tip": "Почему тот мес...", "answer": "Поскольку Митя..." } ] } 

You need to parse this file and scatter the data from it into the appropriate TextView .

I would be very happy if you would put everything in steps (I am a beginner and it is difficult for me to understand the monolithic code).

    1 answer 1

    Parsing:
    1. Declare variables:

     String question, tip, answer; 

    2. Parsing itself:

     String input = "тут ваша json-структура"; JsonParser parser = new JsonParser(); JsonObject mainObject = parser.parse().getAsJsonObject(); JsonArray easy = mainObject.getAsJsonArray("easy"); for (JsonElement obj : easy) { JsonObject userObject = obj.getAsJsonObject(); question = userObject.get("question"); tip = userObject.get("tip"); answer = userObject.get("answer"); } } 

    Received data, now display:

     mTextView1.setText(question); mTextView2.setText(tip); mTextView3.setText(answer);