From de1dd9e48a0259c9af73179390dcf9b640205dc9 Mon Sep 17 00:00:00 2001 From: erickson Date: Wed, 21 Sep 2005 19:29:02 +0000 Subject: [PATCH] move the json code into WebUtils git-svn-id: svn://svn.open-ils.org/ILS/trunk@1849 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- .../perlmods/OpenILS/Template/Plugin/JSON.pm | 32 ------------------- 1 file changed, 32 deletions(-) delete mode 100644 Open-ILS/src/perlmods/OpenILS/Template/Plugin/JSON.pm 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 index ba54b1f185..0000000000 --- a/Open-ILS/src/perlmods/OpenILS/Template/Plugin/JSON.pm +++ /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; -- 2.43.2