SunnysideUp\ShareThis\Services_JSON::decode
decodes a JSON string into appropriate variable
Signature
public function decode(string
$str )
Parameters
$str
— string- JSON-formatted string
Returns
- 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!