//! Structured JSON output for `--json` mode.
use crateExecutionResult;
/// Pretty-print an [`ExecutionResult`] as JSON on stdout.
///
/// We intentionally keep this human-readable (pretty) so it can be consumed
/// either by tools (`jq`, GitHub Actions output, …) or by humans staring at a
/// terminal.
/// Convenience: serialize without printing (used by tests).