Write a list of objects of type CmAnalysis to file. The file is in JSON format.
Arguments
- CmAnalysisList
A list of objects of type
CmAnalysisas created using thecreateCmAnalysis()function.- file
The name of the file where the results will be written