This output module of <B>log2timelineB> takes the t_line timesetamp object and serializes
it into a JSON object.
This makes the timestamp object saved in a native object that can be loaded up
by the tool and simple filtering done on the object itself.
A simple subroutine that returns the version number of the format file
A version number of the module.
A simple constructor of the output module. Takes care of parsing
parameters sent to the output module
A simple subroutine that returns a string containing a description of
the funcionality of the format file. This string is used when a list of
all available format files is printed out
A string containing a description of the format files functionality.
A simple sub routine that prints out a header. Since this serialied object
does not require any header information this sub routine does not really
Returns 1 if successful (which this sub routine always does).
This simple sub routine is called to get a footer of the format. This is
done so that modules can append data to the output if wanted.
However, since this sub routine does not contain any footer it will
not return anym, insteead it returns a 0, indicating there is no footer to
0 if no footer is there, otherwise a string cointaining the footer.
A simple sub routine that is called after all lines have been printed, this is
called so that the module can print a footer.
Since this module does not contain any footer it simply returns straight away.
A 1 indicating a success.
This routine gets sent a t_line or a timestamp object and stores it in a serialized
To make it easier to sort and do other filtering the output module splits up the timestamp
object into one object per timesstamp.
This increases space taken on hard drive, yet at the same time makes output processing
and sorting simpler.
t_line: A timestamp object, which is a reference to a hash that stores all the event information.
This sub routine is created to strip the timestamp out of a timestamp object.
Since we would like to serialize the timestamp as a single timestamp per entry, instead of
the default behaviour of possibly storing up to 8 timestamps, this routine copies the
timestamp object into a new reference to a hash, leaving the timestamps not copied.
That way the main routine can spawn copies of that new timestamp object and save
the values of all the timestamps stored in the original one, thus creating a single
timestamp object per timestamp.
t_line: A timestamp object that should be copied to a new value. This is a reference to a hash.
A copy of the hash, or a reference to that hash, which is an exact replica of the original timestamp object without the timestamps associated to it.
A simple subroutine that returns a string containing the help
message for this particular output module.
A string containing a help file for this format file