Copied!

Encodes JSON data.

Cloneable Instantiable
Constants
public Symfony\Component\Serializer\Encoder\JsonEncoder ::FORMAT = 'json'
Methods
public __construct ( ? Symfony\Component\Serializer\Encoder\JsonEncode $encodingImpl = NULL , ? Symfony\Component\Serializer\Encoder\JsonDecode $decodingImpl = NULL )
public decode ( string $data , string $format , array $context = [ ] ) : ? mixed
 
public encode ( ? mixed $data , string $format , array $context = [ ] ) : string
 
public supportsDecoding ( string $format ) : bool
 
public supportsEncoding ( string $format ) : bool
 
Properties
protected $decodingImpl
protected $encodingImpl
© 2022 Bruce Wells
Search Namespaces \ Classes
Configuration