8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c312ac9 commit f758e68Copy full SHA for f758e68
components/yaml/yaml_format.rst
@@ -308,6 +308,9 @@ The YAML specification defines some tags to set the type of any data explicitly:
308
.. code-block:: yaml
309
310
data:
311
+ # this value is parsed as a string (it's not transformed into a DateTime)
312
+ start_date: !!str 2002-12-14
313
+
314
# this value is parsed as a float number (it will be 3.0 instead of 3)
315
price: !!float 3
316
@@ -318,4 +321,7 @@ The YAML specification defines some tags to set the type of any data explicitly:
318
321
Pz7Y6OjuDg4J+fn5OTk6enp
319
322
56enmleECcgggoBADs=
320
323
324
+.. versionadded:: 3.4
325
+ Support for the ``!!str`` tag was introduced in Symfony 3.4.
326
327
.. _YAML: http://yaml.org/
0 commit comments