Skip to main content

object_field_string

Function object_field_string 

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

Performs object field string.

§Parameters

§Returns

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

§Examples

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