{"id":17962103,"url":"https://github.com/skyzyx/yml2json","last_synced_at":"2025-07-01T16:08:06.834Z","repository":{"id":49534093,"uuid":"55371691","full_name":"skyzyx/yml2json","owner":"skyzyx","description":"A YAML → JSON converter for the command line. Written in Python.","archived":false,"fork":false,"pushed_at":"2024-05-20T21:08:45.000Z","size":48,"stargazers_count":4,"open_issues_count":6,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-28T12:55:42.526Z","etag":null,"topics":["json","python","yaml"],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/yml2json","language":"Python","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/skyzyx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-04-03T22:13:17.000Z","updated_at":"2022-06-22T11:36:20.000Z","dependencies_parsed_at":"2024-06-21T20:23:45.922Z","dependency_job_id":"e78473c8-9cab-47bc-9390-a953644c8d32","html_url":"https://github.com/skyzyx/yml2json","commit_stats":{"total_commits":41,"total_committers":3,"mean_commits":"13.666666666666666","dds":"0.14634146341463417","last_synced_commit":"04a92e4de4010b701466c106cf47a94b28cef1a8"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/skyzyx/yml2json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fyml2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fyml2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fyml2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fyml2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skyzyx","download_url":"https://codeload.github.com/skyzyx/yml2json/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skyzyx%2Fyml2json/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262996403,"owners_count":23396903,"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":["json","python","yaml"],"created_at":"2024-10-29T11:13:47.610Z","updated_at":"2025-07-01T16:08:06.815Z","avatar_url":"https://github.com/skyzyx.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yml2json\n\n[![Source](http://img.shields.io/badge/source-skyzyx/yml2json-blue.svg?style=flat-square)](https://github.com/skyzyx/yml2json)\n[![Open Issues](http://img.shields.io/github/issues/skyzyx/yml2json.svg?style=flat-square)](https://github.com/skyzyx/yml2json/issues)\n[![Author](http://img.shields.io/badge/author-@skyzyx-blue.svg?style=flat-square)](https://twitter.com/skyzyx)\n\nConverts YAML input to JSON output. Relies on [PyYaml](http://pyyaml.org/wiki/PyYAML), and includes its features as well as its caveats.\n\n## Features\n\n* Small. Simple. Fast.\n* Has been tested on Python 2.7.11 and Python 3.5.1.\n* Supports [YAML 1.0](http://yaml.org/spec/1.0/) and [1.1](http://yaml.org/spec/1.1/), but not [1.2](http://www.yaml.org/spec/1.2/spec.html).\n* Supports single-document YAML files, but not multi-document YAML files.\n* Supports compressed and pretty JSON output.\n* Supports input from a file or `stdin`.\n* Seamlessly converts datestamps into ISO-8601 strings.\n* Seamlessly converts YAML sets into JSON lists.\n\n## Examples\n\n```bash\nyml2json sample.yml\nyml2json sample.yml --pretty\nyml2json sample.yml --output sample.json\nyml2json sample.yml --output sample.json --pretty\n\ncat sample.yml | yml2json\ncat sample.yml | yml2json --pretty\ncat sample.yml | yml2json --output sample.json\ncat sample.yml | yml2json --output sample.json --pretty\n```\n\n## Installation\n\nUsing [Pip](https://pypi.python.org/pypi/yml2json):\n```bash\npip install yml2json\n```\n\n## Developing\n\nFirst, install [VirtualEnv](https://virtualenv.pypa.io).\n\n```bash\npip install --upgrade virtualenv\n```\n\nNext, activate your virtual environment and install the dependencies.\n\n```bash\nvirtualenv vendor \u0026\u0026 \\\nsource vendor/bin/activate \u0026\u0026 \\\npip install -r requirements.txt \u0026\u0026 \\\npip install -r requirements2.txt\n```\n\n## Tests\n\n```bash\nmake test\n```\n\n## Contributing\nHere's the process for contributing:\n\n1. Fork yml2json to your GitHub account.\n2. Clone your GitHub copy of the repository into your local workspace.\n3. Write code, fix bugs, and add tests with 100% code coverage.\n4. Commit your changes to your local workspace and push them up to your GitHub copy.\n5. You submit a GitHub pull request with a description of what the change is.\n6. The contribution is reviewed. Maybe there will be some banter back-and-forth in the comments.\n7. If all goes well, your pull request will be accepted and your changes are merged in.\n\n\n## Authors, Copyright \u0026 Licensing\n\n* Copyright (c) 2016 [Ryan Parman](http://ryanparman.com).\n\nSee also the list of [contributors](https://github.com/skyzyx/yml2json/contributors) who participated in this project.\n\nLicensed for use under the terms of the [MIT] license.\n\n  [MIT]: http://www.opensource.org/licenses/mit-license.php\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyzyx%2Fyml2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskyzyx%2Fyml2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskyzyx%2Fyml2json/lists"}