api/symfony/Component/Serializer/Encoder/JsonEncode.yaml

36 lines
723 B
YAML
Raw Permalink Normal View History

2024-09-26 09:03:21 +00:00
name: JsonEncode
class_comment: '# * Encodes JSON data.
# *
# * @author Sander Coolen <sander@jibber.nl>'
dependencies:
- name: NotEncodableValueException
type: class
source: Symfony\Component\Serializer\Exception\NotEncodableValueException
properties: []
methods:
- name: __construct
visibility: public
parameters:
- name: defaultContext
default: '[]'
comment: null
- name: encode
visibility: public
parameters:
- name: data
- name: format
- name: context
default: '[]'
comment: null
- name: supportsEncoding
visibility: public
parameters:
- name: format
comment: null
traits:
- Symfony\Component\Serializer\Exception\NotEncodableValueException
interfaces:
- EncoderInterface