{"id":13806439,"url":"https://github.com/dlang-community/D-YAML","last_synced_at":"2025-05-13T21:33:09.950Z","repository":{"id":37735556,"uuid":"2216701","full_name":"dlang-community/D-YAML","owner":"dlang-community","description":"YAML parser and emitter for the D programming language","archived":false,"fork":false,"pushed_at":"2024-07-27T14:59:20.000Z","size":4143,"stargazers_count":118,"open_issues_count":17,"forks_count":38,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-08-04T01:06:19.588Z","etag":null,"topics":["dlang","emitter","parser","yaml","yaml-parser"],"latest_commit_sha":null,"homepage":"https://dlang-community.github.io/D-YAML/","language":"D","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dlang-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_1_0.txt","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}},"created_at":"2011-08-16T16:08:27.000Z","updated_at":"2024-07-27T14:59:25.000Z","dependencies_parsed_at":"2024-06-02T19:33:37.896Z","dependency_job_id":"a95b5ca8-0b32-4d61-8b93-2af5a0a2a587","html_url":"https://github.com/dlang-community/D-YAML","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlang-community%2FD-YAML","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlang-community%2FD-YAML/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlang-community%2FD-YAML/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlang-community%2FD-YAML/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dlang-community","download_url":"https://codeload.github.com/dlang-community/D-YAML/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225260406,"owners_count":17446091,"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":["dlang","emitter","parser","yaml","yaml-parser"],"created_at":"2024-08-04T01:01:11.732Z","updated_at":"2025-05-13T21:33:09.935Z","avatar_url":"https://github.com/dlang-community.png","language":"D","funding_links":[],"categories":["Configuration"],"sub_categories":["Language Processing"],"readme":"# D:YAML\n\n[![codecov](https://codecov.io/gh/dlang-community/D-YAML/branch/master/graph/badge.svg)](https://codecov.io/gh/dlang-community/D-YAML)\n[![code.dlang.org](https://img.shields.io/dub/v/dyaml.svg)](http://code.dlang.org/packages/dyaml)\n\n## Introduction\n\nD:YAML is an open source YAML parser and emitter library for the D programming language.\nIt is [almost](https://dlang-community.github.io/D-YAML/articles/spec_differences.html) compliant to the YAML 1.1 specification.\nD:YAML is based on [PyYAML](http://www.pyyaml.org) created by Kirill Simonov.\n\nD:YAML is designed to be easy to use while supporting the full feature set of YAML.\nTo start using it in your project, see the [Getting Started](https://dlang-community.github.io/D-YAML/tutorials/getting_started.html) tutorial.\n\n## Features\n\n  - Easy to use, high level API and detailed debugging messages.\n  - Detailed API documentation and tutorials.\n  - Code examples.\n  - Supports all YAML 1.1 constructs. All examples from the YAML 1.1\n    specification are parsed correctly.\n  - Reads from and writes from/to YAML files or in-memory buffers.\n  - UTF-8, UTF-16 and UTF-32 encodings are supported, both big and\n    little endian (plain ASCII also works as it is a subset of UTF-8).\n  - Support for both block (Python-like, based on indentation) and flow\n    (JSON-like, based on bracing) constructs.\n  - Support for YAML anchors and aliases.\n  - Support for default values in mappings.\n  - Support for custom tags (data types), and implicit tag resolution\n    for custom scalar tags.\n  - All tags (data types) described at \u003chttp://yaml.org/type/\u003e are\n    supported, with the exception of `tag:yaml.org,2002:yaml`, which is\n    used to represent YAML code in YAML.\n  - Remembers YAML style information between loading and dumping if\n    possible.\n  - Reuses input memory and uses slices to minimize memory allocations.\n  - There is no support for recursive data structures. There are no\n    plans to implement this at the moment.\n\n## Directory structure\n\n| Directory     | Contents                       |\n|---------------|--------------------------------|\n| `./`          | This README, utility scripts.  |\n| `./docs`      | Documentation.                 |\n| `./source`    | Source code.                   |\n| `./examples/` | Example projects using D:YAML. |\n| `./test`      | Unittest data.                 |\n\n## Installing and tutorial\n\nSee the [Getting Started](https://dlang-community.github.io/D-YAML/tutorials/getting_started.html).\nTutorial and other tutorials that can be found at the [GitHub pages](https://dlang-community.github.io/D-YAML/) or in the `docs` directory of the repository.\n\nAPI documentation is available [here](https://dyaml.dpldocs.info/dyaml.html).\n\n## License\n\nD:YAML is released under the terms of the [Boost Software\nLicense 1.0](http://www.boost.org/LICENSE_1_0.txt). This license allows\nyou to use the source code in your own projects, open source or\nproprietary, and to modify it to suit your needs. However, in source\ndistributions, you have to preserve the license headers in the source\ncode and the accompanying license file.\n\nFull text of the license can be found in file `LICENSE_1_0.txt` and is\nalso displayed here:\n\n    Boost Software License - Version 1.0 - August 17th, 2003\n\n    Permission is hereby granted, free of charge, to any person or organization\n    obtaining a copy of the software and accompanying documentation covered by\n    this license (the \"Software\") to use, reproduce, display, distribute,\n    execute, and transmit the Software, and to prepare derivative works of the\n    Software, and to permit third-parties to whom the Software is furnished to\n    do so, all subject to the following:\n\n    The copyright notices in the Software and this entire statement, including\n    the above license grant, this restriction and the following disclaimer,\n    must be included in all copies of the Software, in whole or in part, and\n    all derivative works of the Software, unless such copies or derivative\n    works are solely in the form of machine-executable object code generated by\n    a source language processor.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT\n    SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE\n    FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,\n    ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER\n    DEALINGS IN THE SOFTWARE.\n\n## Credits\n\nD:YAML was created by Ferdinand Majerech aka Kiith-Sa and is handled by the [dlang-community](https://github.com/dlang-community) organization since 2017.\nParts of code based on [PyYAML](http://www.pyyaml.org) created by Kirill Simonov.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlang-community%2FD-YAML","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdlang-community%2FD-YAML","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlang-community%2FD-YAML/lists"}