Skip to main content

render_excerpt_json

Function render_excerpt_json 

Source
pub fn render_excerpt_json(
    excerpt: &QueryExcerpt,
    pretty: bool,
) -> Result<String, Error>
Expand description

Serialize selected query nodes in compact or human-readable form.

ยงErrors

Propagates the unlikely JSON writer failure from serde_json.