int main ( ) { WebClient client ; if ( ! client . initialize ( ) ) { return 1 ; } if ( ! client . openUrl ( L "ссылка" ) ) { return 1 ; } std :: string response_data = client . readResponse ( ) ; nlohmann :: json json_response ; if ( ! client . parseJson ( response_data , json_response ) ) { return 1 ; } // жсон return 0 ; }