public Stream<LsSurvey> getSurveys() throws LimesurveyRCException {
        JsonElement result = callRC(new LsApiBody("list_surveys", getParamsWithKey()));
        List<LsSurvey> surveys = gson.fromJson(result, new TypeToken<List<LsSurvey>>() {
        }.getType());

        return surveys.stream();
    }
public Stream < LsSurvey > getSurveys ( ) throws LimesurveyRCException { JsonElement result = callRC ( new LsApiBody ( "list_surveys" , getParamsWithKey ( ) ) ) ; List < LsSurvey > surveys = gson . fromJson ( result , new TypeToken < List < LsSurvey > > ( ) { } . getType ( ) ) ; return surveys . stream ( ) ; }
Gets all surveys.

@return a stream of surveys
@throws LimesurveyRCException the limesurvey rc exception