code: public Stream<LsParticipant> getAllParticipants(int surveyId) throws LimesurveyRCException {
          LsApiBody.LsApiParams params = getParamsWithKey(surveyId);
          params.setStart(0);
          params.setLimit(-1);
          List<LsParticipant> participants = gson.fromJson(callRC(new LsApiBody("list_participants", params)), new TypeToken<List<LsParticipant>>() {
          }.getType());
  
          return participants.stream();
      }
docs: Gets all participants from a survey.
  
  @param surveyId the survey id of the survey you want the participants
  @return the all participants
  @throws LimesurveyRCException the limesurvey rc exception