I'm using Google's currency calculation api. It returns json. I can get the URL contents into a string, but how can I parse this in php? I'm trying to return the "rhs" value.
$string='{lhs: "1 Euro",rhs: "1.3067 U.S. dollars",error: "",icc: true}';
$rhs=?????
echo $rhs;