Skip to main content

object_field_number

Function object_field_number 

Source
pub fn object_field_number(text: &str, field: &str) -> Option<i64>
Expand description

Performs object field number.

§Parameters

§Returns

Returns Some when crate::runtime::json_commands::object_field_number 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_field_number.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::object_field_number("{}", "field");