class JsonDecode implements DecoderInterface
Decodes JSON data.
Methods
__construct(bool $associative = false, int $depth = 512) Constructs a new JsonDecode instance. | ||
mixed | decode(string $data, string $format, array $context = array()) Decodes data. | |
bool | supportsDecoding(string $format) Checks whether the deserializer can decode from given format. |
Details
__construct(bool $associative = false, int $depth = 512)
Constructs a new JsonDecode instance.
mixed decode(string $data, string $format, array $context = array())
Decodes data.
bool supportsDecoding(string $format)
Checks whether the deserializer can decode from given format.
Please login to continue.