Decodes JSON data.
- author Sander Coolen
CloneableInstantiable
Constants |
public Symfony True to return the result as an associative array, false for a nested stdClass hierarchy. |
public Symfony |
public Symfony Specifies the recursion depth. |
Methods |
public __construct(array $defaultContext = []) |
public decode(string $data, string $format, array $context = []) : ?mixed Decodes data.
|
public supportsDecoding(string $format) : bool |
Properties |
protected $serializer = NULL |
Properties |
private array $defaultContext = ['json_decode_associative' => false, 'json_decode_options' => 0, 'json_decode_recursion_depth' => 512] |