Zend\Json\Json::decode
Decodes the given $encodedValue string which is encoded in the JSON format
Uses ext/json's json_decode if available.
Signature
public function decode(string
$encodedValue,
[int
$objectDecodeType = self::TYPE_OBJECT] )
Parameters
$encodedValue
— string- Encoded in JSON format
$objectDecodeType
— int- Optional; flag indicating how to decode
objects. See for details.
Returns
- mixed