|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Getting error while decoding JSON object via POST methodby Mr. Muskrat (Abbot) |
| on Feb 07, 2013 at 20:00 UTC ( #1017720=note: print w/ replies, xml ) | Need Help?? |
|
my $perlData = $json->decode($response->content()); You don't want the raw content returned by $response->content(). You want the decoded content as returned by $response->decoded_content(). tobyink had it correct in his reply but he didn't explicitly call it out and you didn't pick up on it.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||