Skip to main content

object_path_array_length

Function object_path_array_length 

Source
pub fn object_path_array_length(text: &str, path: &str) -> Option<usize>
Expand description

Performs object path array length.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::object_path_array_length can produce a value and None otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::object_path_array_length.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::object_path_array_length("{}", std::path::Path::new("fixture.json"));