# parlov-output
Output formatters for parlov. Renders `OracleResult` as terminal tables or JSON.
## table
```rust
use parlov_output::render_table;
let output = render_table(&result);
println!("{output}");
```
```
+-----------+-----------+----------+-------------------------------+
| Existence | Confirmed | High | 403 (baseline) vs 404 (probe) |
+-----------+-----------+----------+-------------------------------+
```
ANSI-colored by verdict (red = Confirmed, yellow = Likely, green = NotPresent) and severity (red = High, yellow = Medium, cyan = Low). Multiple evidence lines get their own rows.
## json
```rust
use parlov_output::render_json;
let json = render_json(&result)?;
```
```json
{
"class": "Existence",
"verdict": "Confirmed",
"evidence": [
"403 (baseline) vs 404 (probe)"
],
"severity": "High"
}
```
Pretty-printed via `serde_json`. Consumes the same `OracleResult` struct — no separate schema.
## planned
- SARIF v2.1.0 output via `serde-sarif` for CI/CD integration
## license
MIT OR Apache-2.0