Skip to content
Snippets Groups Projects
Unverified Commit b27d67d4 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Message: Add TO_JSON method

parent 75a7a706
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,12 @@ sub new {
return $ref;
}
sub TO_JSON {
my ($self) = @_;
return { %{$self} };
}
1;
__END__
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment