Strings in YAML – To quote or not to quote (2018)
blogs.perl.org
blogs.perl.org
Quoting the article:
> In YAML, you can write a string without quotes, if it doesn't have a special meaning.
Yeah, about that...
What parent refers to, YAML's Norway Problem: https://hitchdev.com/strictyaml/why/implicit-typing-removed/
> Another use case for quotes is when you have a string that would be resolved as a special type. This highly depends on the YAML version and on the Schema in use. Here are some examples where you need quotes:
true, false
23
1e3
3.14159
null true, false, null, <ints>, <floats>“How many times have your strings needed to convey some speaker’s voice? How many times have your coded strings needed to convey an object’s possession relationship?”
Apostrophe, 3.
Double quotes, 0.