Skip to main content

write_json

Function write_json 

Source
pub fn write_json<W: Write>(
    writer: &mut W,
    namespaces: &[NamespaceInfo],
) -> Result<(), Box<dyn Error>>
Expand description

Writes namespaces as JSON to the given writer.

ยงErrors

Returns an error if serialization or writing fails.