I'm making a request to my server, but the response is given in String, and I need to get data from there, for example, the if response: {"response":{"balance":85976,"adres":"pasaharpsuk@gmail.com"}} and need to get a balance
CODE:
public class test {
public static void main(String[] args) {
    CloseableHttpClient httpClient = HttpClientBuilder.create().build();
    // Создать запрос на получение
    HttpGet httpGet = new HttpGet("http://localhost:8080/api/bank/my_wallet");
    httpGet.setHeader("Authorization", "eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJwYXNhaGFycHN1a0BnbWFpbC5jb20iLCJyb2xlIjoiVVNFUiIsImlhdCI6MTY1MjUzNzQ3NSwiZXhwIjoxNjUzNTM3NDc1fQ.zYQqgXA0aeZAMm7JGhv4gOQEtks2iyQqGoqOOrdxy5g");
    // модель ответа
    CloseableHttpResponse response = null;
    try {
        // Выполнить (отправить) запрос Get от клиента
        response = httpClient.execute(httpGet);
        // Получить объект ответа из модели ответа
        HttpEntity responseEntity = response.getEntity();
        if (responseEntity != null) {
            
            System.out.println(EntityUtils.toString(responseEntity));
        }
    } catch (ParseException | IOException e) {
        e.printStackTrace();
    } finally {
        try {
            // освободить ресурсы
            if (httpClient != null) {
                httpClient.close();
            }
            if (response != null) {
                response.close();
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
}
'''
 
     
    