Skip to main content

encode_jsonl

Function encode_jsonl 

Source
pub fn encode_jsonl<I>(messages: I) -> Result<String, Error>
where I: IntoIterator<Item = A2uiMessage>,
Expand description

Encode an iterator of A2UI messages as JSONL (newline-delimited JSON).