-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
SerializerhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Description
Hello,
I think that the documentation is wrong about json_encode_options
and json_decode_options
We actually can read at https://github.com/symfony/symfony-docs/blob/7.1/components/serializer.rst?plain=1#L1008-L1009
``json_encode_options`` `$flags`_ passed to :phpfunction:`json_decode` function. ``0``
``json_decode_options`` `$flags`_ passed to :phpfunction:`json_encode` function. ``\JSON_PRESERVE_ZERO_FRACTION``
Should it be rather the opposite ?
``json_encode_options`` `$flags`_ passed to :phpfunction:`json_encode` function. ``0``
``json_decode_options`` `$flags`_ passed to :phpfunction:`json_decode` function. ``\JSON_PRESERVE_ZERO_FRACTION``
Metadata
Metadata
Assignees
Labels
SerializerhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.