pub fn parse_streaming_json(partial: &str) -> Map<String, Value>Expand description
Parses possibly incomplete tool-call arguments into an object.
Complete JSON parses as-is (with repair). A prefix of an object yields the fields seen so far, with a trailing string, number or literal kept in its partial form. Anything that is not an object yields an empty object.