JsonDecode
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
at line line 47
__construct(bool $associative = false, int $depth = 512)
Constructs a new JsonDecode instance.
at line line 80
mixed
decode(string $data, string $format, array $context = array())
Decodes data.
at line line 100
bool
supportsDecoding(string $format)
Checks whether the deserializer can decode from given format.