mpvipc_async::ipc

Function parse_mpv_response_data

source
fn parse_mpv_response_data(
    value: Value,
    command: &[Value],
) -> Result<Option<Value>, MpvError>
Expand description

This function does the most basic JSON parsing and error handling for status codes and errors that all responses from mpv are expected to contain.