Skip to content

Commit

Permalink
Item8638: JSON.pm is not a standard perl module and I see no reason w…
Browse files Browse the repository at this point in the history
…hy it should become a new dependency. Might require some fancier testing, but at least the unit tests will pass now, all but one, if you don't have this module

git-svn-id: http://svn.foswiki.org/trunk@6619 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
OlivierRaginel authored and OlivierRaginel committed Mar 2, 2010
1 parent 81528b0 commit 5112482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Macros/QUERY.pm
Expand Up @@ -57,7 +57,7 @@ sub _serialise_perl {

sub _serialise_json {
my ($this, $result) = @_;
use JSON ();
require JSON;
return JSON::to_json($result, { allow_nonref => 1 });
}

Expand Down

0 comments on commit 5112482

Please sign in to comment.