Copied!

Encodes JSON data.

CloneableInstantiable
Constants
public Symfony\Component\Serializer\Encoder\JsonEncode::OPTIONS = 'json_encode_options'
 

Configure the JSON flags bitmask.

Methods
public __construct(array $defaultContext = [])
public encode(?mixed $data, string $format, array $context = []) : string
public supportsEncoding(string $format) : bool
Properties
private array $defaultContext = ['json_encode_options' => 1024]
© 2024 Bruce Wells
Search Namespaces \ Classes
Configuration