Skip to main content

render_query_json

Function render_query_json 

Source
pub fn render_query_json(
    query: &QueryBundle,
    pretty: bool,
) -> Result<String, Error>
Expand description

Serialize a query contract in compact or human-readable form.

ยงErrors

Propagates the unlikely JSON writer failure from serde_json.