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