in reply to Re^2: Help with JSON Module
in thread Help with JSON Module
And there's your problem identified.
JSON's decode method has this syntax:
$perl_scalar = $json->decode($json_text)
but you're invoking it as:
$perl_scalar = $json->decode($hash_reference)
Use Data::Dumper to determine what data the hash reference points to. Perhaps your JSON string is in there somewhere.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Help with JSON Module
by foggy3657 (Novice) on Sep 08, 2012 at 08:51 UTC | |
by Corion (Patriarch) on Sep 08, 2012 at 09:07 UTC | |
by foggy3657 (Novice) on Sep 08, 2012 at 09:24 UTC | |
by Corion (Patriarch) on Sep 08, 2012 at 09:33 UTC | |
by foggy3657 (Novice) on Sep 08, 2012 at 09:46 UTC | |
| |
by kcott (Archbishop) on Sep 08, 2012 at 11:38 UTC | |
by foggy3657 (Novice) on Sep 08, 2012 at 12:27 UTC | |
|