Top "Yaml" questions

Use this tag for questions about the YAML data serialization format only, not for questions about programs (or examples) that happen to have their configuration in a YAML format.

What is the difference between .yaml and .yml extension?

I read them on YAML-wikipedia but not really understood the main difference between them. I saw there are someone using .…

symfony yaml naming-conventions
Runtime error: assignment to entry in nil map

I am trying to generate a map and then convert that to a yaml file like this: uid : kasi: cn: …

map go yaml
Parse a YAML file

This is the first time I am working with YAML files, so the first think I looked at was to …

java yaml
Converting YAML file to python dict

I am having the following problem of mapping documents within a YAML file to a dict and properly mapping them. …

python data-structures dictionary yaml
YAML current date in rmarkdown

I'm wondering if there's a trick to put the current date in the YAML front-matter of a .rmd document to …

r yaml knitr r-markdown
How to define a map in a YAML file for simple POJO?

I am using snakeYaml to parse certain configuration/property values to a Configuration object. My yaml file looks like this …

java yaml pojo snakeyaml
Does application.yml support environment variables?

I tried using env variables in my application.yml configration like: spring: main: show_banner: false --- spring: profiles: production …

java spring yaml spring-boot
Reading YAML file with Python results in yaml.composer.ComposerError: expected a single document in the stream

I have a yaml file that looks like --- level_1: "test" level_2: 'NetApp, SOFS, ZFS Creation' request: 341570 --- level_1: "test" …

python yaml pyyaml
How do I validate my YAML file from command line?

I am having issues pulling from a YAML config file: Fatal error: while parsing a block mapping; expected <block …

yaml
How do I create an empty array in YAML?

array_with_three_elements: - 1 - 2 - 3 empty_array: Is there any way to specify that empty_array: is an …

ruby arrays yaml