Interface: PartialParseResult
@providerprotocol/ai / utils / PartialParseResult
Interface: PartialParseResult<T>
Section titled “Interface: PartialParseResult<T>”Defined in: src/utils/partial-json.ts:16
Result of parsing partial JSON.
Type Parameters
Section titled “Type Parameters”T = unknown
The expected type of the parsed value
Properties
Section titled “Properties”isComplete
Section titled “isComplete”isComplete:
boolean
Defined in: src/utils/partial-json.ts:20
Whether the JSON was complete and valid
value:
T|undefined
Defined in: src/utils/partial-json.ts:18
The parsed value, or undefined if parsing failed