Skip to main content

parse_bridge_event

Function parse_bridge_event 

Source
pub fn parse_bridge_event(ev: &Value) -> Option<AppEvent>
Expand description

Parse a single bridge event JSON value into an AppEvent.

Returns None for unrecognised event types, allowing callers to skip them.