From 1d7fcfba086f022ec85c2bbca513811c4c3eca27 Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger Date: Mon, 9 May 2011 22:32:55 +0200 Subject: [PATCH] JSJSONArrayParser: Allow single quotes (wimp, you are trying to annoy me, right?) --- videosite/JSJSONArrayParser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/videosite/JSJSONArrayParser.pm b/videosite/JSJSONArrayParser.pm index 5960ee1..82c67f3 100644 --- a/videosite/JSJSONArrayParser.pm +++ b/videosite/JSJSONArrayParser.pm @@ -25,7 +25,7 @@ sub parse { my $s = shift; my $j = JSON->new(); - return $j->loose->allow_barekey()->decode($s); + return $j->loose->allow_barekey()->allow_singlequote()->decode($s); } 1; -- 1.8.3.1