artifactize-core 0.27.0

The library behind artifactize: Artifacts, evals, reviews, the monitor and review models, and the shared operations every interface calls.
Documentation
1
2
3
4
5
6
7
8
use super::*;

impl ValidatedResult {
    /// The answer as saved before it becomes a typed result: its verdict and issues.
    pub(crate) fn into_json(self) -> Value {
        serde_json::json!({"verdict": self.verdict, "issues": self.issues})
    }
}