removing _json_hint_to_class
authorsboyette <sboyette@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 28 Aug 2009 20:31:28 +0000 (20:31 +0000)
committersboyette <sboyette@9efc2488-bf62-4759-914b-345cdb29e865>
Fri, 28 Aug 2009 20:31:28 +0000 (20:31 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1757 9efc2488-bf62-4759-914b-345cdb29e865

src/perl/lib/OpenSRF/Utils/JSON.pm

index 0c28518..06b7bcd 100644 (file)
@@ -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;