Coder Social home page Coder Social logo

yaml-study's Introduction

Yaml 学习

Yaml /ˈjæməl/ (Yaml Ain't a Markup Language,即 Yaml 不是一种标记语言)是一种高可读的数据序列化的语言,可以被大多数的编程语言支持使用,主要用于数据序列化、配置文件。

常见的标记语言有:XML、HTML语言等。

它最初代表 "Yet Another Markup Language",但后来更改为 "Yaml Ain't Makeup Language" 以区别于真正的标记语言。

数据序列化,可以高效的标识或描述数据及数据关系的,以便于存储和传输。

优点

  • 语法简单
  • 结构清晰,易于阅读
  • 功能丰富,可以描述比JSON更加复杂的结构

缺点

  • 使用缩进表示层级关系,而缩进使用的是空格,所以对层级关系要求严格,层级错误就会导致数据错误
  • 键和值在 : 之间使用 : 空格隔开,如果键和值在同一行编写时,必须提供空格

相关链接

yaml-study's People

Contributors

curder avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.