Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dfinity/idl2json
https://github.com/dfinity/idl2json
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dfinity/idl2json
- Owner: dfinity
- License: apache-2.0
- Created: 2021-03-12T14:10:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T16:29:15.000Z (7 months ago)
- Last Synced: 2024-04-23T09:05:02.185Z (7 months ago)
- Language: Rust
- Size: 267 KB
- Stars: 6
- Watchers: 28
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
- awesome-internet-computer - idl2json - Command line tool for converting Candid to JSON. (Candid / Libraries / Frameworks)
README
idl2json
========Reads [Candid](https://github.com/dfinity/candid) textual values from `stdin` and emits them as json values on `stdout`.
This command is useful for piping the output of Candid value producing tools (such as dfx) into json tools.
```
dfx canister call governance get_proposal_info 1 | idl2json
```There is sample output to play with without dfx:
```