Function json_rpc2::from_str[][src]

pub fn from_str(payload: &str) -> Result<Request>

Parse a JSON payload from a string slice into a request.