Skip to main content

show_json

Function show_json 

Source
pub fn show_json(layout: &Layout, id: &str) -> Result<Value>
Expand description

One issue as JSON, including its file and line range.

ยงErrors

Returns an error if the corpus cannot be read, id is not in it, or the detail cannot be serialized.