Destructor that frees the memory of the object FileWriter.
FileWriter
function destructor input JSONWriterObject jsonWriter "Pointer to file writer object"; end destructor;