jq is useful to slice, filter, map and transform structured json data.
brew install jq
{ | |
"genesis_time": "2023-08-23T04:34:59.107847Z", | |
"chain_id": "localnet", | |
"initial_height": "1", | |
"consensus_params": { | |
"block": { | |
"max_bytes": "22020096", | |
"max_gas": "-1" | |
}, | |
"evidence": { |
{ | |
"address": "4FE87B1C78BBF32E2E35849307C93DBBFD300681", | |
"pub_key": { | |
"type": "tendermint/PubKeyEd25519", | |
"value": "hsSYCqBXtwNTYyV5ud/tYyB+78og7VztfWBvlBKEu8U=" | |
}, | |
"priv_key": { | |
"type": "tendermint/PrivKeyEd25519", | |
"value": "/ppkmms5uqabDMjwTldeiuW7Ssv2XPqRoZRJoAzTl+CGxJgKoFe3A1NjJXm53+1jIH7vyiDtXO19YG+UEoS7xQ==" | |
} |