git://git.camperquake.de
/
videosite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
717cced
)
JSJSONArrayParser: Allow bareword keys
author
Ralf Ertzinger
<ralf@skytale.net>
Sun, 8 May 2011 11:29:17 +0000
(13:29 +0200)
committer
Ralf Ertzinger
<ralf@skytale.net>
Sun, 8 May 2011 11:29:17 +0000
(13:29 +0200)
videosite/JSJSONArrayParser.pm
patch
|
blob
|
history
diff --git
a/videosite/JSJSONArrayParser.pm
b/videosite/JSJSONArrayParser.pm
index
1fd44b0
..
5960ee1
100644
(file)
--- 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;