{"id":17932166,"url":"https://github.com/meain/tojson","last_synced_at":"2026-05-09T14:34:41.619Z","repository":{"id":57670032,"uuid":"267233554","full_name":"meain/tojson","owner":"meain","description":"Convert between toml, yaml and json","archived":false,"fork":false,"pushed_at":"2022-01-07T18:51:49.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-12T21:11:19.270Z","etag":null,"topics":["cli","convert","json","rust","toml","yaml"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/tojson","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meain.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}},"created_at":"2020-05-27T05:57:49.000Z","updated_at":"2022-01-07T18:51:44.000Z","dependencies_parsed_at":"2022-09-26T20:40:44.137Z","dependency_job_id":null,"html_url":"https://github.com/meain/tojson","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meain%2Ftojson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meain%2Ftojson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meain%2Ftojson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meain%2Ftojson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meain","download_url":"https://codeload.github.com/meain/tojson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246984647,"owners_count":20864484,"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":["cli","convert","json","rust","toml","yaml"],"created_at":"2024-10-28T21:25:39.241Z","updated_at":"2026-05-09T14:34:41.539Z","avatar_url":"https://github.com/meain.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tojson\n\n\u003e Convert between yaml, toml and json\n\n\n## Installation\n\n### MacOS\n\n```\nbrew install meain/meain/tojson\n```\n\n### Cargo\n\n```\ncargo install tojson\n```\n\n### Source\n\n```\ngit clone git@github.com:meain/tojson.git\ncd tojson \u0026\u0026 cargo install --force --path .\n```\n\n## Usage\n\n```\nUSAGE:\n    tojson [FLAGS] [OPTIONS] [filename]\n\nFLAGS:\n    -h, --help       Prints help information\n    -p, --pretty\n    -V, --version    Prints version information\n\nOPTIONS:\n    -f, --from \u003cfrom\u003e     [default: auto]  [possible values: auto, yaml, toml, json]\n    -t, --to \u003cto\u003e         [default: json]  [possible values: json, yaml, toml]\n\nARGS:\n    \u003cfilename\u003e\n```\n\n#### Example usecase\n\n```\ntojson Cargo.toml | jq -r '.package.version'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeain%2Ftojson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeain%2Ftojson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeain%2Ftojson/lists"}