pub fn print_json_object<T: Serialize>(value: T) -> Result<()>Expand description
Prints a serializable object: envelope-wrapped in --json mode, pretty-printed otherwise.
Use this for objects that have no human-readable Display format (block data, RPC responses,
etc.).