{"id":13524329,"url":"https://github.com/dfinity/idl2json","last_synced_at":"2025-09-02T16:56:16.868Z","repository":{"id":38329949,"uuid":"347088156","full_name":"dfinity/idl2json","owner":"dfinity","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-28T11:45:58.000Z","size":434,"stargazers_count":8,"open_issues_count":5,"forks_count":1,"subscribers_count":21,"default_branch":"main","last_synced_at":"2025-08-31T21:09:44.005Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dfinity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-12T14:10:56.000Z","updated_at":"2025-08-28T11:46:00.000Z","dependencies_parsed_at":"2024-04-29T06:33:18.855Z","dependency_job_id":"db87684a-0527-4d65-93ad-dbe86734bc80","html_url":"https://github.com/dfinity/idl2json","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/dfinity/idl2json","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fidl2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fidl2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fidl2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fidl2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dfinity","download_url":"https://codeload.github.com/dfinity/idl2json/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dfinity%2Fidl2json/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273317765,"owners_count":25084037,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-01T06:01:09.027Z","updated_at":"2025-09-02T16:56:16.832Z","avatar_url":"https://github.com/dfinity.png","language":"Rust","readme":"idl2json\n========\n\nReads [Candid](https://github.com/dfinity/candid) textual values from `stdin` and emits them as json values on `stdout`.\n\nThis command is useful for piping the output of Candid value producing tools (such as dfx) into json tools.\n\n```\ndfx canister call governance get_proposal_info 1 | idl2json\n```\n\nThere is sample output to play with without dfx:\n\n```\n\u003csamples/proposal.idl ./target/debug/idl2json\n```\n\n# Install\n\n## With `cargo` binstall\n`cargo binstall` will install a pre-built binary, if available, else compile from source:\n```\ncargo binstall idl2json_cli --no-confirm\n```\n\n## With `cargo` install\n`cargo install` will download, compile and install:\n```\ncargo install idl2json_cli\n```\n\n# Build\n\nBuild with any of the following methods.  The binary executable will be at `idl2json/target/{debug,release}/idl2json` (depending on whether `cargo build --release` is used).\n\n## With nix:\n```\nnix-shell --command 'cargo build'\n```\n\n## Build OSX without nix\n\n```\nbrew install libiconv\nexport LIBRARY_PATH=/usr/local/Cellar/libiconv/1.16/lib/\ncargo build\n```\n","funding_links":[],"categories":["Candid"],"sub_categories":["Libraries / Frameworks"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfinity%2Fidl2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdfinity%2Fidl2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdfinity%2Fidl2json/lists"}