pub async fn recv_json<T: DeserializeOwned>(
    reader: &mut impl AsyncBufRead + Unpin,
    buf: &mut Vec<u8>
) -> Result<Option<T>>
Expand description

Read the next null-delimited JSON instruction from a stream.