{"id":20916199,"url":"https://github.com/yannoff/jaml","last_synced_at":"2026-05-09T09:01:58.498Z","repository":{"id":89937708,"uuid":"598533979","full_name":"yannoff/jaml","owner":"yannoff","description":"Dead-simple JSON/YAML converter utility","archived":false,"fork":false,"pushed_at":"2024-03-10T00:07:03.000Z","size":352,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-19T16:27:14.114Z","etag":null,"topics":["json","json-to-yaml","yaml","yaml-to-json"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yannoff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-02-07T10:03:51.000Z","updated_at":"2024-03-10T20:19:49.000Z","dependencies_parsed_at":"2023-03-17T03:46:13.204Z","dependency_job_id":"6244d904-3b1c-4924-b6c0-50d00c1bb26f","html_url":"https://github.com/yannoff/jaml","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yannoff%2Fjaml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yannoff%2Fjaml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yannoff%2Fjaml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yannoff%2Fjaml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yannoff","download_url":"https://codeload.github.com/yannoff/jaml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243308601,"owners_count":20270448,"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","json-to-yaml","yaml","yaml-to-json"],"created_at":"2024-11-18T16:20:27.541Z","updated_at":"2026-05-09T09:01:58.402Z","avatar_url":"https://github.com/yannoff.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JAML\n\nEasy-to-use JSON \u003c=\u003e YAML converter\n\n[![Latest stable release](https://img.shields.io/badge/Release-1.3.1-blue)](https://github.com/yannoff/jaml/releases/latest \"Latest stable release\")\n[![MIT License](https://img.shields.io/badge/License-MIT-lightgrey)](https://github.com/yannoff/jaml/blob/master/LICENSE \"MIT License\")\n\n## Usage\n\n_Input format is detected automatically, hence:_\n\n- [YAML input will be converted to JSON](#converting-yaml-to-json)\n- [JSON input will be converted to YAML](#converting-json-to-yaml)\n\n### Converting YAML to JSON\n\n```bash\n# The classic way:\njaml \u003cfile.yaml|url-to-yaml-contents\u003e\n\n# or using piped standard input:\ncat file.yaml | jaml\n```\n\n### Converting JSON to YAML\n\n```bash\n# The classic way:\njaml \u003cfile.json|url-to-json-contents\u003e\n\n# or using piped standard input:\ncat file.json | jaml\n```\n\n### Examples\n\n_**Converting remote JSON contents over https**_\n\n```bash\njaml https://repo.packagist.org/packages/list.json?vendor=yannoff\n```\n\n_Output:_\n\n```yaml\npackageNames:\n    - yannoff/collections\n    - yannoff/composer-dotenv-handler\n    - yannoff/console\n    - yannoff/handyman\n    - yannoff/lumiere-ui\n    - yannoff/lumiere-utils\n    - yannoff/symfony-boilerplate\n    - yannoff/y-a-m-l\n    - yannoff/yamltools\n```\n\n_**Converting a YAML file contents**_\n\n```bash\njaml composer.yaml\n```\n\n_Output:_\n\n```json\n{\n    \"name\": \"yannoff/jaml\",\n    \"description\": \"Easy-to-use JSON \u003c=\u003e YAML converter\",\n    \"type\": \"project\",\n    \"license\": \"MIT\",\n    \"authors\": [\n        {\n            \"name\": \"Yannoff\",\n            \"homepage\": \"https://github.com/yannoff\"\n        }\n    ],\n    \"autoload\": {\n        \"psr-4\": {\n            \"Yannoff\\\\Jaml\\\\\": \"src/\"\n        }\n    },\n    \"require\": {\n        \"yannoff/console\": \"^2.0\",\n        \"yannoff/yamltools\": \"^1.5\"\n    }\n}\n```\n\n### Available options\n\n**`-i, --interactive`**\n\n*Run in interactive mode*\n\n**`-h, --help`**\n\n*Display help message*\n\n**`-v, --verbose`**\n\n*Increase the verbosity of jaml output*\n\n**`--version`**\n\n*Display version and exit*\n\n## Installation\n\n### Requirements\n\n- [`php`](https://www.php.net/) 5.5+ or [`PAW`](https://github.com/yannoff/p-a-w)\n\n### Quick install\n\nGet the latest release and install it\n\n```bash\ncurl -Lo /usr/bin/jaml https://github.com/yannoff/jaml/releases/latest/download/jaml\nchmod +x /usr/bin/jaml\n```\n\n:bulb: _The `/usr/bin/jaml` path is just an example, fell free to replace by any custom binary file path._\n\n### Checksums\n\nSome checksum files are available to verify the `jaml` binary integrity:\n\n- [jaml.md5](https://github.com/yannoff/jaml/releases/latest/download/jaml.md5)\n- [jaml.sha384](https://github.com/yannoff/jaml/releases/latest/download/jaml.sha384)\n\n_Here is an example using PHP_\n\n```php\necho hash_file('sha384', 'https://github.com/yannoff/jaml/releases/latest/download/jaml');\n```\n\n## Credits\n\n_**JAML** leverages [offenbach](https://github.com/yannoff/offenbach) for PHP dependency management._\n\nCompiled as a PHAR self-executable using [PHP Code Compiler](https://github.com/yannoff/phpcc).\n\n## License\n\nLicensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyannoff%2Fjaml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyannoff%2Fjaml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyannoff%2Fjaml/lists"}