Skip to main content

parse_response_json_values

Function parse_response_json_values 

Source
pub fn parse_response_json_values(content: &str) -> Option<Vec<Value>>
Expand description

Parse multiple JSON values from a single content string.

Used for streaming response sections where multiple JSON objects are concatenated (e.g., NDJSON or concatenated JSON5).

Returns Some(values) if 2+ values were successfully parsed, None otherwise.