From 5a1c4fca58cd489ab03057f8a552fa32a961176a Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger Date: Sun, 8 May 2011 13:29:17 +0200 Subject: [PATCH] JSJSONArrayParser: Allow bareword keys --- videosite/JSJSONArrayParser.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/videosite/JSJSONArrayParser.pm b/videosite/JSJSONArrayParser.pm index 1fd44b0..5960ee1 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->decode($s); + return $j->loose->allow_barekey()->decode($s); } 1; -- 1.8.3.1