in reply to Parsing REST API JSON

$decode_json->{'responseData'} is a reference to a hash, not to an array, so doing @{ $decoded_json->{'responseData'} } is bound to fail. So don't do that.

Since you haven't told us what you want to achieve, I can't tell you how to do what you want.

Replies are listed 'Best First'.
Re^2: Parsing REST API JSON
by welle (Beadle) on May 13, 2012 at 16:11 UTC

    I am just trying to "extract" the value of "translatedText". (later maybe other values)

        Shame on me! It was far easier as I thought! Thank you moritz.