MCPcopy Create free account
hub / github.com/TanStack/ai /

Class

packages/ai/src/activities/chat/stream/json-parser.ts:25–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 * This parser can handle incomplete JSON strings during streaming
24 */
25export class PartialJSONParser implements JSONParser {
26 /**
27 * Parse a potentially incomplete JSON string
28 * @param jsonString - The JSON string to parse (may be incomplete)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected