From: Mhonarc archives guy Date: Sun, 1 Jan 2012 16:21:26 +0000 (+0000) Subject: use encode, not to_json X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=d3850fbc45781ffd15351c2709687451a0b98f50;p=pgweb-old.git use encode, not to_json --- diff --git a/archives/bin/generate-list-descriptions b/archives/bin/generate-list-descriptions index 565989db..a3312260 100755 --- a/archives/bin/generate-list-descriptions +++ b/archives/bin/generate-list-descriptions @@ -66,7 +66,7 @@ sub writefile { my $tmpfile = "$filename.new"; if (open TMPOUT, ">", $tmpfile) { - print TMPOUT $json->to_json($data); + print TMPOUT $json->encode($data); close TMPOUT; rename $tmpfile, $filename; }