$raw_event = "";
$TestField = "testvalue";
$Undef = undef;
$Integer = 42;
$BoolTrue = TRUE;
$BoolFalse = FALSE;
to_json();
if ( $raw_event != '{"TestField":"testvalue","Undef":null,"Integer":42,"BoolTrue":true,"BoolFalse":false}' ) $success = FALSE;
$raw_event2 = to_json();
if $raw_event2 != $raw_event $success = FALSE;
#log_info($raw_event);
$raw_event2 = undef;
if not defined $success $success = TRUE;
