Load a list of objects of type exposureOutcome from file. The file is in JSON format.
loadExposureOutcomeList(file)A list of objects of type exposureOutcome.
# \donttest{
tempFile <- file.path(tempdir(), "exposureOutcomes.json")
saveExposureOutcomeList(list(createExposureOutcome(1124300, 444382)), tempFile)
eoList <- loadExposureOutcomeList(tempFile)
# }