Skip to main content

to_json

Function to_json 

Source
pub fn to_json(cat: &PluginApiCatalog, examples: Option<&Examples>) -> String
Expand description

The whole catalog as pretty-printed JSON, newline-terminated. examples is the guest scan, or None to emit empty examples arrays.