{"id":14966148,"url":"https://github.com/yaml/yaml-perl6","last_synced_at":"2025-10-19T11:32:03.308Z","repository":{"id":66047240,"uuid":"769262","full_name":"yaml/yaml-perl6","owner":"yaml","description":"YAML Implementation for Perl 6","archived":false,"fork":false,"pushed_at":"2017-06-10T17:37:26.000Z","size":45,"stargazers_count":19,"open_issues_count":2,"forks_count":8,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-01-29T16:21:34.135Z","etag":null,"topics":["dumper","loader","perl6","yaml"],"latest_commit_sha":null,"homepage":"","language":"Perl6","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/yaml.png","metadata":{"files":{"readme":"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}},"created_at":"2010-07-11T20:35:49.000Z","updated_at":"2023-10-20T09:49:31.000Z","dependencies_parsed_at":"2023-03-16T18:30:13.148Z","dependency_job_id":null,"html_url":"https://github.com/yaml/yaml-perl6","commit_stats":{"total_commits":26,"total_committers":2,"mean_commits":13.0,"dds":0.1923076923076923,"last_synced_commit":"4f8d72c90f4323d309002dfecb0ba31656b93c66"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-perl6","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-perl6/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-perl6/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaml%2Fyaml-perl6/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaml","download_url":"https://codeload.github.com/yaml/yaml-perl6/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237117293,"owners_count":19258383,"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":["dumper","loader","perl6","yaml"],"created_at":"2024-09-24T13:35:55.609Z","updated_at":"2025-10-19T11:32:02.823Z","avatar_url":"https://github.com/yaml.png","language":"Perl6","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Perl6 YAML\n\n[![Build Status](https://travis-ci.org/yaml/yaml-perl6.svg)](https://travis-ci.org/yaml/yaml-perl6)\n\nA [YAML](https://yaml.org/) Loader and Dumper\n\n# INSTALLATION\n\nCurrently this depends on\n[LibYAML.pm6](https://github.com/yaml/yaml-libyaml-perl6)\n\n## Install from Sources\n\nYou can install this YAML module from source like this:\n\n    $ zef install https://github.com/yaml/yaml-perl6.git\n    # or\n    $ git clone https://github.com/yaml/yaml-perl6.git\n    $ cd yaml-perl6\n    $ zef install .\n\n# Examples\n\nThe toplevel API is the first thing we want to get stable. The layer under that,\nthe Loader/Dumper/Reader/Writer/Parser/Emitter will change, so it's not\nrecommended to use that and think it will always work. Make sure to update\nLibYAML also when updating this module.\n\n    # current usage\n    use YAML;\n\n    my $yaml = q:to/./\n        ---\n        integer: 23\n        map:\n          a: true\n          b: false\n        sequence:\n        - x\n        - y\n        - z\n        ...\n        ---\n        This is: document no. 2\n        ...\n        .\n\n    # get back single document\n    # note that currently, this will parse the complete string instead\n    # of stopping after the first document\n    my $doc = yaml.load($yaml);\n    my %hash = yaml.load($yaml);\n\n    # load all documents\n    my @docs = yaml.all.load($yaml);\n    my $docs = yaml.all.load($yaml);\n\n    # dump data to YAML\n    my $yaml = yaml.dump(%data1, @data2, ...);\n    my @docs = (%data1, @data2);\n    my $yaml = yaml.dump(@docs);\n\n\n# Features\n\n- Load and Dump strings, numbers, booleans, arrays, hashes, (objects)\n- Load and Dump Aliases/Anchors, including cyclic structures\n\n# TODO\n\n- Tags\n- Files and Filehandles\n- Error messages\n- Allow other parsers/emitters as a backend\n- Other low level API stuff\n\n\n# SEE ALSO\n\n[YAMLish](https://github.com/Leont/yamlish) is a pure-perl6 module for\nYAML that doesn't rely on an external library like `YAML` currently does.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fyaml-perl6","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaml%2Fyaml-perl6","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaml%2Fyaml-perl6/lists"}