move the json code into WebUtils
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 21 Sep 2005 19:29:02 +0000 (19:29 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 21 Sep 2005 19:29:02 +0000 (19:29 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@1849 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Template/Plugin/JSON.pm [deleted file]

diff --git a/Open-ILS/src/perlmods/OpenILS/Template/Plugin/JSON.pm b/Open-ILS/src/perlmods/OpenILS/Template/Plugin/JSON.pm
deleted file mode 100644 (file)
index ba54b1f..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-package OpenILS::Template::Plugin::JSON;
-use strict; use warnings;
-
-use Template::Plugin;
-use base qw/Template::Plugin/;
-use JSON;
-
-sub new {
-       my ($class) = @_;
-       $class = ref($class) || $class;
-       my $self = {};
-       return bless($self,$class);
-}
-
-sub perl2JSON {
-       my( $self, $perl ) = @_;
-       return JSON->perl2JSON($perl);
-}
-       
-
-sub JSON2perl {
-       my( $self, $perl ) = @_;
-       return JSON->JSON2perl($perl);
-}
-
-sub perl2prettyJSON {
-       my( $self, $perl ) = @_;
-       return JSON->perl2prettyJSON($perl);
-}
-       
-
-1;