freescout-calendar-module/vendor/dallgoot/yaml/tests/definitions/dumping_tests.yml
2024-09-10 16:29:40 +02:00

68 lines
1.4 KiB
YAML

array: |-
- a
- b
- c
array_with_alphakey: |-
alphakey: alphakey_value
0: a
1: b
2: c
compact_array_in_object: |-
key1: {array: [1, 2, 3]}
compact_array: |-
key1: [1, 2, 3]
compact_object_in_array: |-
key1: [1, 2, {key: a}]
compact_object: |-
key1: {key1: a, key2: b}
dateTime: |-
key: 2000-01-01
floats_double: |-
positiveFloat: 0.5353
negativeFloat: -2.6500
castedPositiveFloat: 2.0000
castedNegativeFloat: -2.0000
positiveExponentFloat: 23000.0000
negativeExponentFloat: 0.0023
positiveInfinity: .inf
negativeInfinity: -.inf
notANumber: .nan
stdObject: |-
prop: my property
# symfony_custom_tag: |-
# !php/object 'O:8:"stdClass":1:{s:5:"foo";s:7:"bar";}'
yamlObject_indices: |-
-
- 1
- 2
- 3
-
memberOfO: some really really really really really really really really really very long text as a simple string
yamlObject_properties: |-
propA:
- 1
- 2
- 3
propB:
memberOfO: some really really really really really really really really really very long text as a simple string
unicodeString: |-
str: \u263a
multidoc_yamlObject: |-
---
-
- 1
- 2
- 3
---
a: 1
---
b: 2
netplan_example: |-
network:
ethernets:
enp0s3:
addresses: [192.168.1.84\/24]
gateway4: 192.168.1.1
nameservers:
addresses: [192.168.1.1]
version: 2