From 4fc3bf5ac996f59eeb46083c4de9372d99905f78 Mon Sep 17 00:00:00 2001 From: sboyette Date: Fri, 28 Aug 2009 20:31:28 +0000 Subject: [PATCH] removing _json_hint_to_class git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1757 9efc2488-bf62-4759-914b-345cdb29e865 --- src/perl/lib/OpenSRF/Utils/JSON.pm | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/perl/lib/OpenSRF/Utils/JSON.pm b/src/perl/lib/OpenSRF/Utils/JSON.pm index 0c28518..06b7bcd 100644 --- a/src/perl/lib/OpenSRF/Utils/JSON.pm +++ b/src/perl/lib/OpenSRF/Utils/JSON.pm @@ -178,18 +178,4 @@ sub false { return $parser->false(); } -sub _json_hint_to_class { - my $type = shift; - my $hint = shift; - - return $_class_map{hints}{$hint}{name} if (exists $_class_map{hints}{$hint}); - - $type = 'hash' if ($type eq '}'); - $type = 'array' if ($type eq ']'); - - OpenSRF::Utils::JSON->register_class_hint(name => $hint, hint => $hint, type => $type); - - return $hint; -} - 1; -- 2.43.2