in reply to Re^2: Parsing Array of arrays from json file
in thread Parsing Array of arrays from json file
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!
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom