A helper providing autocompletion for available JsonEncoder options.
- author Mathias Arlaud
CloneableFinalInstantiable
Methods |
public toArray() : array
|
public withAssociative(?bool $associative) : static Configures whether decoded objects will be given as associative arrays or as nested stdClass. |
public withContext(Symfony
|
public withDecodeOptions(?int $options) : static Configures the json_decode flags bitmask.
|
public withEncodeOptions(?int $options) : static Configures the json_encode flags bitmask.
|
public withRecursionDepth(?int $recursionDepth) : static Configures the maximum recursion depth. Must be strictly positive.
|
Methods |
protected with(string $key, ?mixed $value) : static |
Properties |
private array $context = []
|