{"id":13750629,"url":"https://github.com/hone/mruby-yaml","last_synced_at":"2025-05-09T15:32:14.346Z","repository":{"id":34887020,"uuid":"38907265","full_name":"hone/mruby-yaml","owner":"hone","description":"YAML gem for mruby","archived":false,"fork":true,"pushed_at":"2018-10-29T08:19:56.000Z","size":37,"stargazers_count":1,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-16T02:33:18.123Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mrbgems/mruby-yaml","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hone.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}},"created_at":"2015-07-11T00:07:27.000Z","updated_at":"2019-09-01T13:06:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/hone/mruby-yaml","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hone%2Fmruby-yaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hone%2Fmruby-yaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hone%2Fmruby-yaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hone%2Fmruby-yaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hone","download_url":"https://codeload.github.com/hone/mruby-yaml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253275619,"owners_count":21882340,"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":[],"created_at":"2024-08-03T08:00:43.014Z","updated_at":"2025-05-09T15:32:13.363Z","avatar_url":"https://github.com/hone.png","language":"C","readme":"## mruby-yaml\n\n#### YAML gem for [mruby](https://github.com/mruby/mruby)\n\nmruby-yaml wraps [libyaml](http://pyyaml.org/wiki/LibYAML) and therefore complies with the YAML 1.1 standard. File IO is not supported, as this would create a dependency on other mruby gems.\n\n### Defines\n| Name                             | Default | Description                    |\n| -------------------------------- | ------- | ------------------------------ |\n| MRUBY_YAML_NULL                  | true    | enables `null`, `Null`, `NULL` |\n| MRUBY_YAML_BOOLEAN_ON            | true    | enables `on`, `On`, `ON`       |\n| MRUBY_YAML_BOOLEAN_YES           | true    | enables `yes`, `Yes`, `YES`    |\n| MRUBY_YAML_BOOLEAN_SHORTHAND_YES | true    | enables `y`, `Y`               |\n| MRUBY_YAML_BOOLEAN_OFF           | true    | enables `off`, `Off`, `OFF`    |\n| MRUBY_YAML_BOOLEAN_NO            | true    | enables `no`, `No`, `NO`       |\n| MRUBY_YAML_BOOLEAN_SHORTHAND_NO  | true    | enables `n`, `N`               |\n\nIf you need to check if a feature is supported at runtime, replace `MRUBY_YAML_` with `SUPPORT_` for the runtime equivalent.\n\n#### EG.\n```ruby\nif YAML::SUPPORT_NULL\n  YAML.load('null') == nil\nelse  \n  YAML.load('null') == 'null'\nend\n```\n\n### Documentation\n\n#### `YAML.load(yaml_str)`\nConverts a YAML 1.1 string to a Ruby object containing hashes, arrays, and strings. YAML scalars (i.e. strings) are converted to Fixnum or Floats if possible.\n\n#### `YAML.dump(obj)`\nConverts a Ruby object to a YAML 1.1 string. Arrays, Hashes, and their subclasses are represented as YAML sequences and mapping nodes. Other objects are converted to strings and represented as scalars.\n","funding_links":[],"categories":["Configuration"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhone%2Fmruby-yaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhone%2Fmruby-yaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhone%2Fmruby-yaml/lists"}