updated webgui to run with Config::JSON 2.04

This commit is contained in:
JT Smith 2008-01-25 05:10:33 +00:00
parent fb434a8b3a
commit 34fd8c9245
20 changed files with 56 additions and 51 deletions

View file

@ -192,7 +192,7 @@ sub freezeGraphConfig {
my $self = shift;
my $obj = shift;
return JSON::objToJson($obj);
return JSON::to_json($obj);
}
@ -403,7 +403,7 @@ sub thawGraphConfig {
my $self = shift;
my $string = shift;
return JSON::jsonToObj($string);
return JSON::from_json($string);
}
#-------------------------------------------------------------------