A reference to a streaming JSON parser backed by Angular signals.
API
ImperativeJsonParserRef
@typeOutputerror
Signal<StreamError | Error | undefined>The current parser or schema error, if any.
parseChunk
(chunk: string) => voidApply a JSON chunk to the parser.
parserState
Signal<StreamState>The current streaming JSON parser state.
reset
() => voidReset the parser to its initial state.
value
Signal<Output | undefined>The latest resolved value produced by the schema or parser state.