Javaeye http://angeloce.iteye.com/admin/blogs/385976
========================================================== ============
Yaml is an intuitive data serialization format that can be recognized by computers. It is easy for humans to read and
Recently processed some configuration files, encountered in the YAML format of the file, because no previous contact with this format file, for XML is more familiar. So what is YAML? What are the advantages and disadvantages of it compared to XML?
Basic rules
YAML has the following basic rules:
1, Case sensitive
2. Use indentation to represent hierarchical relationships
3, prohibit the use of tab indentation, you can only use the space key
4. There is no limit to the indentation length, as
Get to know yaml in 5 minutes
Liubin http://www.ruby-cn.org/Http://yaml.kwiki.org/index.cgi? Homepage
Document location:Http://www.ruby-cn.org/articles/yaml_in_5_minutes.html
2004/11/11
Note: before you start, you may want to see the basic concepts
Yaml is an intuitive data serialization format that can be read by a computer, easily readable by humans, and easy to interact with scripting languages. Yaml is similar to XML, but syntax is much simpler than XML and is very simple and efficient for
Since we have a Star package, we need to compile panda and other tools first after installing Rakudo on MoarVM. In this step, you need to pay attention to your @ * inc path and the actual $ PERL6LIB PATH. The $ PATH in panda after compilation is
As Yaml represents, Yaml Ain ' t Markup Language,yaml is a concise, non-markup language. YAML is data-centric, uses whitespace, indents, and organizes data into branches, making the presentation more concise and readable.
While learning the rules,
This is a creation in
Article, where the information may have evolved or changed.
in order to publish our well-written server to the server, we have to build our code to package, so if you want to modify some code later, you need to re-compile the
How to effectively manage the positioning elements, this is a very learned question, but also the interview must ask [the following is purely personal point of view, do not spray! ].
Some people use the XML Management page to locate
YAML syntaxThis article is from: http://www.ansible.com.cn/docs/YAMLSyntax.htmlThis page provides a basic overview of the correct YAML syntax, which is used to describe a playbooks (our Configuration management language).We use YAML because it is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.