10000 minor #14868 [Serializer] Update serializer.rst (souhail-5) · githubfromgui/symfony-docs@c6f45d8 · GitHub
[go: up one dir, main page]

Skip to content

Commit c6f45d8

Browse files
committed
minor symfony#14868 [Serializer] Update serializer.rst (souhail-5)
This PR was submitted for the 5.2 branch but it was merged into the 4.4 branch instead. Discussion ---------- [Serializer] Update serializer.rst Update CsvEncoder's default values. Not really sure for the `empty string` mention. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 425495b Update serializer.rst
2 parents b556f4f + 425495b commit c6f45d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/serializer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,7 +869,7 @@ Option Description D
869869
``csv_delimiter`` Sets the field delimiter separating values (one ``,``
870870
character only)
871871
``csv_enclosure`` Sets the field enclosure (one character only) ``"``
872-
``csv_escape_char`` Sets the escape character (at most one character)
872+
``csv_escape_char`` Sets the escape character (at most one character) empty string
873873
``csv_key_separator`` Sets the separator for array's keys during its ``.``
874874
flattening
875875
``csv_headers`` Sets the order of the header and data columns
@@ -879,7 +879,7 @@ Option Description D
879879
``a,b,c\n1,2,3`` ``[]``, inferred from input data's keys
880880
``csv_escape_formulas`` Escapes fields containg formulas by prepending them ``false``
881881
with a ``\t`` character
882-
``as_collection`` Always returns results as a collection, even if only
882+
``as_collection`` Always returns results as a collection, even if only ``true``
883883
one line is decoded.
884884
``no_headers`` Disables header in the encoded CSV ``false``
885885
``output_utf8_bom`` Outputs special `UTF-8 BOM`_ along with encoded data ``false``

0 commit comments

Comments
 (0)
0