Function for writing data to a JSON file.
function writeJSON input IBPSA.Utilities.IO.Files.BaseClasses.JSONWriterObject ID "JSON writer object id"; input Real[:] varVals "Variable values"; end writeJSON;