pub fn parse_json_stream(json: &str) -> Result<Vec<LspMessage>, CopilotError>Expand description
Parse all LSP messages from a JSON string
§Errors
Returns an error if the JSON is invalid or doesn’t match the expected format.
pub fn parse_json_stream(json: &str) -> Result<Vec<LspMessage>, CopilotError>Parse all LSP messages from a JSON string
Returns an error if the JSON is invalid or doesn’t match the expected format.