{"id":19731209,"url":"https://github.com/curder/yaml-study","last_synced_at":"2025-06-26T01:02:14.856Z","repository":{"id":65315440,"uuid":"585434011","full_name":"curder/yaml-study","owner":"curder","description":"YAML 学习","archived":false,"fork":false,"pushed_at":"2025-03-12T02:44:51.000Z","size":1016,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-26T01:02:05.826Z","etag":null,"topics":["yaml","yaml-configuration","yaml-files","yaml-parser","yml","yml-configuration","yml-parser"],"latest_commit_sha":null,"homepage":"https://curder.github.io/yaml-study","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/curder.png","metadata":{"files":{"readme":"docs/README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-05T06:48:21.000Z","updated_at":"2025-03-12T02:44:55.000Z","dependencies_parsed_at":"2025-06-26T01:01:31.295Z","dependency_job_id":null,"html_url":"https://github.com/curder/yaml-study","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/curder/yaml-study","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curder%2Fyaml-study","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curder%2Fyaml-study/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curder%2Fyaml-study/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curder%2Fyaml-study/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/curder","download_url":"https://codeload.github.com/curder/yaml-study/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/curder%2Fyaml-study/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261978831,"owners_count":23239416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["yaml","yaml-configuration","yaml-files","yaml-parser","yml","yml-configuration","yml-parser"],"created_at":"2024-11-12T00:19:38.880Z","updated_at":"2025-06-26T01:02:14.725Z","avatar_url":"https://github.com/curder.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yaml 学习\n\n**Yaml** `/ˈjæməl/` （Yaml Ain't a Markup Language，即 Yaml 不是一种标记语言）是一种高可读的数据序列化的语言，可以被大多数的编程语言支持使用，主要用于数据序列化、配置文件。\n\n常见的标记语言有：XML、HTML语言等。\n\n它最初代表 \"Yet Another Markup Language\"，但后来更改为 \"Yaml Ain't Makeup Language\" 以区别于真正的标记语言。\n\n数据序列化，可以高效的标识或描述数据及数据关系的，以便于存储和传输。\n\n**优点**：\n- 语法简单\n- 结构清晰，易于阅读\n- 功能丰富，可以描述比JSON更加复杂的结构\n\n**缺点**：\n- 使用缩进表示层级关系，而缩进使用的是空格，所以对层级关系要求严格，层级错误就会导致数据错误\n- 键和值在 `:` 之间使用 `:` 空格隔开，如果键和值在同一行编写时，必须提供空格\n\n## 相关链接\n\n- [yaml to json converter](https://onlineyamltools.com/convert-yaml-to-json)\n- [yaml validator](https://jsonformatter.org/yaml-validator)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurder%2Fyaml-study","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurder%2Fyaml-study","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurder%2Fyaml-study/lists"}