mpvipc_async::ipc

Function parse_mpv_response_data

Source
fn parse_mpv_response_data(value: 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.