pub fn state_array(root: &Value, section: &str) -> Option<Vec<Value>>Expand description
Returns the JSON array for one state section.
§Parameters
root: Input consumed bycrate::runtime::json_commands::state_array.section: Input consumed bycrate::runtime::json_commands::state_array.
§Returns
Returns Some when crate::runtime::json_commands::state_array can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::state_array(std::path::Path::new("."), "items");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.