Since the structure is one level deeper than you thought, you need to add another loop. Try this:
my @categories = $decoded_json[0]; foreach my $category (@categories){ foreach my $record (@$category) { print Dumper $record; print "Translation for $record->[0] is $record->[1 +]\n"; } }
Hope this helps!
In reply to Re^3: Parsing Array of arrays from json file
by 1nickt
in thread Parsing Array of arrays from json file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |