Skip to main content

extract_json_bytes

Function extract_json_bytes 

Source
pub fn extract_json_bytes(msg: &BackendMessage) -> Result<Bytes>
Expand description

Extract JSON bytes from DataRow message

ยงErrors

Returns WireError::Protocol if the message is not a DataRow, the row does not have exactly one field, or the field value is null.