Write a list of objects of type exposureOutcome to file. The file is in JSON format.

saveExposureOutcomeList(exposureOutcomeList, file)

Arguments

exposureOutcomeList

The exposureOutcome list to be written to file

file

The name of the file where the results will be written