Write a list of objects of type ExposuresOutcome
to file. The file is in JSON format.
Arguments
- exposuresOutcomeList
A list of objects of type
ExposuresOutcome
as created using thecreateExposuresOutcome()
function.- file
The name of the file where the results will be written