decodes a JSON string into appropriate variable
public decode ( string $str ) : mixed | ||
$str | string | JSON-formatted string |
return | mixed | number, boolean, string, array, or object corresponding to given JSON input string. See argument 1 to Services_JSON() above for object-output behavior. Note that decode() always returns strings in ASCII or UTF-8 format! |