bitcoindevkit / bitcoindevkit/bdk

Change `example_crates`'s output format to be JSON

Open
#1,932 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.1k
Forks
483
Avg merge
20d 3h
Merged PRs (30d)
3

Description

**Describe the enhancement**
Change all the `example_crates` output format to be JSON.

**Use case**
Easier output information extraction through `jq` tool, for better integration with shell script or other external cli tools.

**Additional context**
I have been using heavily the `example_crates` to test some workflows, mainly written as shell scripts or similar.
The problem is I find more intuitive to extract information from JSON using `jq` than use regex to extract the same information from strings.
There are any concerns about changing all the `example_crates` output format to be in JSON?
Is this change behind the scope of the `example_crates` or it is a legit enhancement?
May this break the development workflow of anyone testing things with `example_crates` too?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.