//! JSON output helpers (RFC-014).
//!
//! Available only when the `serde` feature is enabled.
//! All public types in `model` derive `Serialize`; this module adds the
//! convenience `to_json` / `to_json_pretty` wrappers.
use crateWorkbookDiff;
/// Serialise a `WorkbookDiff` to a compact JSON string.
///
/// Returns an error string if serialisation fails (should not happen for
/// well-formed results, but the caller should handle the `Result`).
/// Serialise a `WorkbookDiff` to a pretty-printed JSON string.