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

saveExposuresOutcomeList(exposuresOutcomeList, file)

Arguments

exposuresOutcomeList

The ExposuresOutcome list to be written to file

file

The name of the file where the results will be written