Can you please put your code into code tags to make it more readible. Generally, such problems can be most easily analyzed with the module Data::Dumper. So add something like
use Data::Dumper; ... print Dumper($j);
to your code to see what is contained in $j. To be an array reference it has to be surrounded by square brackets [ ].
In reply to Re^3: how to acces data in JSON
by hdb
in thread how to acces data in JSON
by hulketa
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |