约 23,600,000 个结果
在新选项卡中打开链接
  1. How do I break a string in YAML over multiple lines?

    2016年9月6日 · YAML makes wrong things look right - for example, an innocuous colon : within one string in a string array makes YAML interpret it as an array of objects. It violates the principle of least astonishment.

  2. What is YAML? - IBM

    2023年12月11日 · What is YAML? YAML is a versatile, human-readable data serialization language commonly used for writing configuration files. It provides a standardized format for representing structured data in a way that is both easily understandable to humans and interpretable by machines.

  3. What is the difference between YAML and JSON? - Stack Overflow

    What are the differences between YAML and JSON, specifically considering the following things? Performance (encode/decode time) Memory consumption Expression clarity Library availability, ease of ...

  4. What is the difference between '>-' and '|-' in yaml?

    2022年5月2日 · This link has a good explanation and pretty examples, yaml-multiline.info. In summary, - means removing newlines at the end of the block, regardless of how many newlines there is. and + means keep all of the newlines that exist in the block

  5. What is the << (double left arrow) syntax in YAML called, and …

    However, I am confused about where this syntax comes from or why it works. CTRL + F ing the YAML specification for << reveals that it doesn't appear anywhere in the specification. Yet it's supported by, at the very least, PyYAML and Online YAML Parser. What is this syntax, and how come it doesn't seem to appear in the specification?

  6. why --- (3 dashes/hyphen) in yaml file? - Stack Overflow

    So I just started using YAML file instead of application.properties as it is more readable. I see in YAML files they start with ---. I googled and found the below explanation. YAML uses three das...

  7. How to escape indicator characters (colon and hyphen) in YAML

    In a config file, I have a key to which I wish to assign a URL. The problem is that YAML interprets : and - characters as either creating mappings or lists, so it has a problem with the line url: h...

  8. VS Code: Unwanted automatic YAML file formatting

    2020年5月25日 · I just started using Visual Studio Code and am faced with an annoyance every time I paste in YAML code in an existing .yml file. Basically, the editor seems to auto-format the document and in doing...

  9. If condition possible in yaml file? - Stack Overflow

    2019年1月15日 · I need to add one more name based on if condition. If If variable value from another .yml file is "yes" then add a new name in the list I've the following code in my yaml file: JsNames: - name: '

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

    I saw there are someone using .yaml extension, however, Symfony2 use .yml extension. YAML is a human-readable data serialization format that takes concepts from programming languages such as C, Perl, and Python, and ideas from XML and the data format of electronic mail. YAML is a recursive acronym for "YAML Ain't Markup Language".