Skip to main content

extract_nested_field

Function extract_nested_field 

Source
pub fn extract_nested_field(
    bytes: &[u8],
    path: &str,
) -> TransportResult<Option<Value>>
Available on crate feature transport only.
Expand description

Extract a nested field using dot notation (e.g., “tags.event.org_id”).

§Errors

Returns error if the bytes are not valid JSON.