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

Public Member Functions

 decode ($data)
 

Detailed Description

JSON decoder

@api

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

Definition at line 16 of file DecoderInterface.php.

Member Function Documentation

◆ decode()

decode (   $data)

Decodes the given $data string which is encoded in the JSON format into a PHP type (array, string literal, etc.)

Parameters
string$data
Returns
mixed

Implemented in Decoder.


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