--- google/trunk/lib/CWMP/Store/JSON.pm 2007/11/25 20:33:12 229 +++ google/trunk/lib/CWMP/Store/JSON.pm 2008/07/14 16:37:35 243 @@ -33,12 +33,12 @@ sub save_hash { my ( $self, $file, $hash ) = @_; - write_file( $file, to_json $hash ); + write_file( $file, encode_json $hash ); } sub load_hash { my ( $self, $file ) = @_; - from_json read_file( $file ); + decode_json read_file( $file ); } sub extension { '.js' };