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, array $defaultContext = []) |
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 |