Skip to main content

script_json

Function script_json 

Source
pub fn script_json(text: &str, name: &str) -> Result<Value, String>
Expand description

The document a script returns, as JSON. Kept separate from from_script so --emit-json can print it without validating twice.