Write a list of objects of type exposureOutcome to file. The file is in JSON format.
saveExposureOutcomeList(exposureOutcomeList, file)Invisibly returns NULL. Saves the exposure-outcome list to file as a side effect.
if (FALSE) { # \dontrun{
eo1 <- createExposureOutcome(exposureId = 1124300, outcomeId = 444382)
saveExposureOutcomeList(list(eo1), "exposureOutcomes.json")
} # }