Skip to main content

render_explanation_json

Function render_explanation_json 

Source
pub fn render_explanation_json(exp: &Explanation) -> Value
Expand description

Render an Explanation as a stable JSON document.

ยงPanics

Panics if the Explanation fails to serialize via serde_json::to_value, which cannot happen because Explanation derives Serialize with no fallible custom serializer.