Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
Decoder Class Reference
Inheritance diagram for Decoder:
DecoderInterface

Public Member Functions

 decode ($data)
 

Detailed Description

Deprecated:
101.0.0
See also
\Magento\Framework\Serialize\Serializer\Json::unserialize

Definition at line 11 of file Decoder.php.

Member Function Documentation

◆ decode()

decode (   $data)

Decodes the given $data string which is encoded in the JSON format.

Parameters
string$data
Returns
mixed

Implements DecoderInterface.

Definition at line 19 of file Decoder.php.

20  {
21  return \Zend_Json::decode($data);
22  }

The documentation for this class was generated from the following file: