Dyml
Dyml copied to clipboard
value with ": " inside a list causes line break?
test:
list:
- hello: there
output:
list:
- hello: there
-
-
...
if the space after : is missing it wont trigger a line break:
list:
- hello:there
Load it as a Map<Object, Object>:
list:
- Hello # (String object)
- key: value # (Single map object)
# (Map object with maps has values)
- key:
subkey: value # (Single map object)
otherkey: value # (Single map object)
key2:
subkey: value # (Single map object)
- key: # (Single map object with list has value)
- value1 # (String object)
- key: value # (Single map object)
- value2 # (String object)
- Hi # (String object)
yeah thats smart