hashbrown

ImperativeJsonParserRef

A reference to a streaming JSON parser backed by Angular signals.

ImperativeJsonParserRef
@typeOutput
error
Signal<StreamError | Error | undefined>

The current parser or schema error, if any.

parseChunk
(chunk: string) => void

Apply a JSON chunk to the parser.

parserState
Signal<StreamState>

The current streaming JSON parser state.

reset
() => void

Reset the parser to its initial state.

value
Signal<Output | undefined>

The latest resolved value produced by the schema or parser state.