JSJSONArrayParser: Allow single quotes (wimp, you are trying to annoy me, right?)
[videosite.git] / videosite / JSJSONArrayParser.pm
index 5960ee1..82c67f3 100644 (file)
@@ -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;