Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dfinity/idl2json


https://github.com/dfinity/idl2json

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

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:

```