parse_json_stream

Function parse_json_stream 

Source
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.