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