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.

Rails load YAML to hash and reference by symbol

I am loading a YAML file in Rails 3.0.9 like this: APP_CONFIG = YAML.load(File.read(File.expand_path('../…

ruby-on-rails hash yaml symbols
Python and PYAML - yaml.scanner.ScannerError: mapping values are not allowed here

I am on ubunty 64 with python 2.7 and using PyYAML-3.10 Below is my yaml file: host:localhost username:root password:test …

python yaml pyyaml
ActiveRecord serialize using JSON instead of YAML

I have a model that uses a serialized column: class Form < ActiveRecord::Base serialize :options, Hash end Is there …

ruby-on-rails json activerecord yaml serialization
mapping values are not allowed in this context

I'm a novice regarding YAML format and kubernetes. The following is a dep_prom.yml file. --- apiVersion: extensions/v1…

yaml kubernetes kubectl
rails 3, how use an ENV config vars in a Settings.yml file?

In my settings.yml file I have several config vars, some of which reference ENV[] variables. for example I have …

ruby-on-rails yaml env
Conda 'ImportError: No module named ruamel.yaml.comments'

Conda gives error when I run any command with it. Traceback (most recent call last): File "/usr/local/bin/conda", …

python yaml anaconda conda ruamel.yaml
JavaScript YAML Parser

I am looking for a JavaScript YAML parser which converts the YAML into something usable within a HTML page. I've …

javascript html parsing yaml
What do the &,<<, * mean in this database.yml file?

Up until now I have only used database.yml with each parameter called out explicitly, in the file below it …

ruby-on-rails database-connection yaml alias cross-reference
YAML compared to XML

I read that after years yaml will be used instead of xml. Please compare the relative advantages and disadvantages of …

xml yaml language-comparisons
What can I control with YAML header options in pandoc?

Only by chance did I see an example document using the toc: true line in their YAML header options in …

yaml pandoc