Skip to main content

inputs_from_json

Function inputs_from_json 

Source
pub fn inputs_from_json(
    json: &str,
) -> Result<HashMap<String, InputValue>, Error>
Expand description

Decode input.* overrides from a JSON object — {"Length": 20, "Smooth": true, "Source": "close"} — keyed by input title, for ScriptBuilder::with_inputs.