parse_single_message

Function parse_single_message 

Source
pub fn parse_single_message(json: &str) -> Result<LspMessage, CopilotError>
Expand description

Parse a single LSP message from a JSON string

ยงErrors

Returns an error if the JSON is invalid.