Skip to content

Conversation

@javenlalla
Copy link
Contributor

@javenlalla javenlalla commented Nov 13, 2025

Hello!
In the Deserializing Input Partially (Unwrapping) section of the Serializer documentation, the code sample is missing the 'json' format specifier as the third argument when calling deserialize.

This commit adds the missing format value into the function call of the code sample.

Function signature: https://github.com/symfony/symfony/blob/6.4/src/Symfony/Component/Serializer/Serializer.php#L146

Page: https://symfony.com/doc/6.4/serializer.html#deserializing-input-partially-unwrapping

Thanks!

In the `Deserializing Input Partially (Unwrapping)` section, the code sample is missing the `'json'` format specifier as the third argument when calling `deserialize`.

This commit adds the missing format value into the function call of the code sample.

Function signature: https://github.com/symfony/symfony/blob/6.4/src/Symfony/Component/Serializer/Serializer.php#L146

Page: https://symfony.com/doc/6.4/serializer.html#deserializing-input-partially-unwrapping
@OskarStark
Copy link
Contributor

Thank you @javenlalla.

@OskarStark OskarStark merged commit 822a366 into symfony:6.4 Nov 13, 2025
3 checks passed
@javenlalla javenlalla deleted the patch-2 branch November 13, 2025 12:33
@javenlalla
Copy link
Contributor Author

Sure thing. Thanks as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants