pub fn script_json(text: &str, name: &str) -> Result<Value, String>
The document a script returns, as JSON. Kept separate from from_script so --emit-json can print it without validating twice.
from_script
--emit-json