my @jsonarray = $decoded_json->{strarray};It's not an array, but an array reference. You should dereference it: my @jsonarray = @{$decoded_json->{strarray}};. Read perlreftut and perlref for more information on references.
In reply to Re: How to use a json string with nested array and nested hash elements?
by aitap
in thread How to use a json string with nested array and nested hash elements?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |