Skip to main content

json_find_string_after

Function json_find_string_after 

Source
pub fn json_find_string_after(
    text: &str,
    key: &str,
    start_at: &str,
) -> Option<String>
Expand description

Finds a string field after a caller-selected text offset.

§Parameters

§Returns

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

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::json_find_string_after("{}", "key", todo!());