class JsonDecode

Decodes JSON data

@author Sander Coolen <sander@jibber.nl>

Hierarchy

Expanded class hierarchy of JsonDecode

File

drupal/core/vendor/symfony/serializer/Symfony/Component/Serializer/Encoder/JsonDecode.php, line 19

Namespace

Symfony\Component\Serializer\Encoder
View source

Members

Namesort descending Modifiers Type Description Overrides
JsonDecode::$associative private property Specifies if the returned result should be an associative array or a nested stdClass object hierarchy.
JsonDecode::$lastError private property
JsonDecode::$recursionDepth private property Specifies the recursion depth.
JsonDecode::$serializer protected property
JsonDecode::decode public function Decodes data. Overrides DecoderInterface::decode
JsonDecode::getLastError public function Returns the last decoding error (if any).
JsonDecode::resolveContext private function Merges the default options of the Json Decoder with the passed context.
JsonDecode::supportsDecoding public function Checks whether the deserializer can decode from given format. Overrides DecoderInterface::supportsDecoding
JsonDecode::__construct public function Constructs a new JsonDecode instance.